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

DinoFracture.AsyncFractureResult Class Referencesealed

The result of a fracture. More...

Properties

bool IsComplete [get]
 Returns true if the operation has finished; false otherwise. This value will always be true for synchronous fractures.
 
bool IsSuccessful [get]
 Returns true if the operation has finished and returned valid results.
 
FractureGeometry FractureGeometry [get]
 The original script that initiated the fracture.
 
GameObject PiecesRoot [get]
 The root of the pieces of the resulting fracture.
 
Bounds EntireMeshBounds [get]
 The bounds of the original mesh.
 
float ProgressPercent [get]
 A number [0..1] denoting the completion percentage of the fracture. Computed by dividing CompletedOperationCount by TotalOperationCount.
 
int CompletedOperationCount [get]
 The number of completed operations / segments in this fracture. The percent complete is this value divided by TotalOperationCount.
 
int TotalOperationCount [get]
 The total number of operations / segments in this fracture. The percent complete is CompletedOperationCount divided by this number.
 

Detailed Description

The result of a fracture.