docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Class XROriginMovement

    Transformation that translates the target's originTransform by the specified amount.

    Inheritance
    object
    XROriginMovement
    Implements
    IXRBodyTransformation
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEngine.XR.Interaction.Toolkit.Locomotion
    Assembly: solution.dll
    Syntax
    public class XROriginMovement : IXRBodyTransformation

    Properties

    Name Description
    forceUnconstrained

    Whether to ignore constrainedManipulator even if it is set. Defaults to false to use the movement constraints if configured to.

    motion

    Amount of translation to apply to the originTransform.

    Methods

    Name Description
    Apply(XRMovableBody)

    Performs the transformation on the given body.

    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)