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

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. Every DestructibleGlobalMesh is associated with a DestructibleMeshComponent that handles the actual mesh manipulation, including segmentation and rendering.

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. Use MRUtilityKit.DestructibleGlobalMeshSpawner to configure this value.
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. Use MRUtilityKit.DestructibleGlobalMeshSpawner to configure this value.
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. Use MRUtilityKit.DestructibleGlobalMeshSpawner to configure this value.
Signature
float PointsPerUnitY