docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    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.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)