Tracks completion and returns the results of a shatter. More...
Properties | |
new ShatterDetails | 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. | |
Tracks completion and returns the results of a shatter.