DestructibleGlobalMesh struct represents a destructible global mesh within a specific room.
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 |