Tracks completion and returns the results of a fragmentation operation.
More...
|
void | Wait (int msTimeout) |
| Wait on the fracture to complete.
|
|
|
void | SetComplete () |
| Marks this operation as completed.
|
|
|
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.
|
|
Tracks completion and returns the results of a fragmentation operation.
◆ Wait()
void DinoFracture.AsyncFractureOperation.Wait |
( |
int | msTimeout | ) |
|
|
inline |
Wait on the fracture to complete.
- Parameters
-
msTimeout | Max time to wait. 0 to not wait, -1 to wait forever. |