ProtectedconstructorOptionalisInternalConstructor: booleanGets the average mass across all pieces. Used for damage threshold calculation.
Gets the average volume across all pieces. Used for damage threshold calculation.
Gets the interior material used for cut surfaces.
Determines if this destruction data is valid and ready to use.
Gets the number of pieces.
Gets the array of fracture pieces.
Gets the settings used to generate this fracture data.
Gets the count of top-level pieces (pieces stored directly, not as children).
Gets the total mass of all pieces combined.
Gets the total volume of all pieces combined.
Gets a specific piece by index.
Contains the computed fracture data for a mesh.
DestructionData holds all the pieces generated by fracturing a mesh, along with metadata about the original mesh and fracture settings. This data can be used at runtime to spawn debris when a destructable object is destroyed.