Method QueueTransformation
QueueTransformation(IXRBodyTransformation, int)
Queues a transformation to be applied during the next Update(). Transformations are applied
sequentially based on ascending priority. Transformations with the same priority are
applied in the order they were queued. Each transformation is removed from the queue after it is applied.
Declaration
public void QueueTransformation(IXRBodyTransformation transformation, int priority = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| IXRBodyTransformation | transformation | The transformation that will receive a call to Apply(XRMovableBody) in the next Update(). |
| int | priority | Value that determines when to apply the transformation. Transformations with lower priority values are applied before those with higher priority values. |