API reference
API reference
Select your platform
No SDKs available
No versions available

AMRUKDestructibleGlobalMesh Class

Extends AActor
Actor that constructs a destructible mesh for the given room The actor will automatically attach to the global mesh anchor of the given room to take it location and orientation.

Fields

UMRUKDestructibleMeshComponent * DestructibleMeshComponent[Get]
Density of mesh segments on the X axis. Increase this value to get smaller cracks in the global mesh. Decrease this value to get bigger cracks in the global mesh.
How many segmentation points should be created at a maximum.
Density of mesh segments on the Y axis. Increase this value to get smaller cracks in the global mesh. Decrease this value to get bigger cracks in the global mesh.

Member Functions

AMRUKDestructibleGlobalMesh ( )
Create a destructible mesh for the given room. If the global mesh has not yet been loaded this function will attempt to load the global mesh from the device.
Parameters
Room
The room
Remove a segment of the global mesh. Takes care of not removing the reserved global mesh segment.
Parameters
Mesh
The mesh to remove
Did you find this page helpful?
Thumbs up icon
Thumbs down icon