AMRUKDestructibleGlobalMesh
()
|
Signature
AMRUKDestructibleGlobalMesh::AMRUKDestructibleGlobalMesh() |
DestructibleMeshComponent
: UMRUKDestructibleMeshComponent * |
Signature
UMRUKDestructibleMeshComponent* AMRUKDestructibleGlobalMesh::DestructibleMeshComponent |
MaxPointsCount
: int |
How many segmentation points should be created at a maximum.
Signature
int AMRUKDestructibleGlobalMesh::MaxPointsCount |
PointsPerUnitX
: double |
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.
Signature
double AMRUKDestructibleGlobalMesh::PointsPerUnitX |
PointsPerUnitY
: double |
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.
Signature
double AMRUKDestructibleGlobalMesh::PointsPerUnitY |
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 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 |