ADynamicMeshActor

[ADynamicMeshActor](API\Runtime\GeometryFramework\ADynamicMeshActor) is an Actor that has a USimpleDynamicMeshComponent as it's RootObject.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

GeometryFramework

Header

/Engine/Source/Runtime/GeometryFramework/Public/DynamicMeshActor.h

Include

#include "DynamicMeshActor.h"

Syntax

class ADynamicMeshActor : public AActor

Remarks

ADynamicMeshActor is an Actor that has a USimpleDynamicMeshComponent as it's RootObject.

Variables

Name Description

Public variable

bool

 

bEnableComputeMeshPool

Mesh Pool support.

Protected variable

TObjectPtr< cla...

 

DynamicMeshComponent

Protected variable

TObjectPtr< UDy...

 

DynamicMeshPool

The internal Mesh Pool, for use in DynamicMeshActor BPs.

Constructors

Name Description

Public function

ADynamicMeshActor

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

UDynamicMesh...

 

AllocateComputeMesh()

Request a compute mesh from the Pool, which will return a previously-allocated mesh or add and return a new one.

Public function

void

 

FreeAllComputeMeshes()

Release all compute meshes that the Pool has allocated, and then release them from the Pool, so that they will be garbage-collected

Public function

UDynamicMesh...

 

GetComputeMeshPool()

Access the compute mesh pool

Public function Const

UDynamicMesh...

 

GetDynamicMeshComponent()

Public function

void

 

ReleaseAllComputeMeshes()

Release all compute meshes that the Pool has allocated

Public function

bool

 

ReleaseComputeMesh

(
    UDynamicMesh* Mesh
)

Release a compute mesh back to the Pool