DinoFracture 2.11.1
A Dynamic Fracture Library
Loading...
Searching...
No Matches

DinoFracture.OnFractureEventArgs Class Referencesealed

Argument passed to OnFracture message. More...

Collaboration diagram for DinoFracture.OnFractureEventArgs:
[legend]

Public Member Functions

IEnumerable< UnityEngine.Mesh > GetMeshes ()
 Returns an enumerable of just the generated Unity meshes.
 

Public Attributes

FractureGeometry OriginalObject
 The object that fractured.
 
Bounds OriginalMeshBounds
 The bounds of the original mesh.
 
GameObject FracturePiecesRootObject
 The root of the pieces of the resulting fracture.
 
FractureDetails FractureDetails
 The parameters used for the fracture.
 

Detailed Description

Argument passed to OnFracture message.

Member Function Documentation

◆ GetMeshes()

IEnumerable< UnityEngine.Mesh > DinoFracture.OnFractureEventArgs.GetMeshes ( )
inline

Returns an enumerable of just the generated Unity meshes.

Returns