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.

Constructors

AMRUKDestructibleGlobalMesh ()
Signature
AMRUKDestructibleGlobalMesh::AMRUKDestructibleGlobalMesh()

Fields

DestructibleMeshComponent : UMRUKDestructibleMeshComponent *
Signature
UMRUKDestructibleMeshComponent* AMRUKDestructibleGlobalMesh::DestructibleMeshComponent
PointsPerUnitX : float
The number of points per unit along 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.
Signature
float AMRUKDestructibleGlobalMesh::PointsPerUnitX
PointsPerUnitY : float
The number of points per unit along 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.
Signature
float AMRUKDestructibleGlobalMesh::PointsPerUnitY
PointsPerUnitZ : float
The number of points per unit along the Z axis Increase this value to get smaller cracks in the global mesh. Decrease this value to get bigger cracks in the global mesh.
Signature
float AMRUKDestructibleGlobalMesh::PointsPerUnitZ

Member Functions

CreateDestructibleMesh ( Room )
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.
Signature
void AMRUKDestructibleGlobalMesh::CreateDestructibleMesh(AMRUKRoom *Room=nullptr)
Parameters
Room: AMRUKRoom *  The room
Returns
void
RemoveGlobalMeshSegment ( Mesh )
Remove a segment of the global mesh. Takes care of not removing the reserved global mesh segment.
Signature
void AMRUKDestructibleGlobalMesh::RemoveGlobalMeshSegment(UPrimitiveComponent *Mesh)
Parameters
Mesh: UPrimitiveComponent *  The mesh to remove
Returns
void