API reference

DestructibleGlobalMesh Struct

The DestructibleGlobalMesh struct represents a destructible global mesh within a specific room.
It includes functionality to create and manage the mesh based on room-specific parameters and global settings.

Fields

DestructibleMeshComponent : DestructibleMeshComponent
The MRUtilityKit.DestructibleMeshComponent associated with this global mesh.
This component handles the actual mesh manipulation, including segmentation and rendering, based on the parameters provided.
Signature
DestructibleMeshComponent DestructibleMeshComponent
MaxPointsCount : int
The maximum number of points that the destructible mesh can contain.
The higher number of points the higher the impact on performance.
Signature
int MaxPointsCount
PointsPerUnitX : float
Specifies the number of points per unit along the X-axis for the destructible mesh.
This setting affects the density and detail of the mesh, influencing both visual quality and performance..
Signature
float PointsPerUnitX
PointsPerUnitY : float
Specifies the number of points per unit along the Y-axis for the destructible mesh.
This setting affects the density and detail of the mesh, influencing both visual quality and performance.
Signature
float PointsPerUnitY