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

DinoFracture.AsyncSliceOperation Class Reference

Tracks completion and returns the results of a slice. More...

Inheritance diagram for DinoFracture.AsyncSliceOperation:
[legend]
Collaboration diagram for DinoFracture.AsyncSliceOperation:
[legend]

Properties

new SliceDetails Details [get, set]
 The original details passed into the operation.
 
- Properties inherited from DinoFracture.AsyncFractureOperation
FractureDetails Details [get, set]
 The original details passed into the operation.
 
FractureResult Result [get, protected set]
 The result of the fracture. This is not set until IsComplete is true.
 
bool IsComplete [get]
 True if the fracture has completed, false otherwise. If this is a synchronous fracture, this value will always be true by the end of the fracture call.
 
bool ErrorDuringFracture [get, protected set]
 If true, results may be empty or not completely valid.
 
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.
 

Additional Inherited Members

- Public Member Functions inherited from DinoFracture.AsyncFractureOperation
void Wait (int msTimeout)
 Wait on the fracture to complete.
 
- Protected Member Functions inherited from DinoFracture.AsyncFractureOperation
void SetComplete ()
 Marks this operation as completed.
 

Detailed Description

Tracks completion and returns the results of a slice.