docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Constructor XRMovableBody

    XRMovableBody(XROrigin, IXRBodyPositionEvaluator)

    Initializes a new instance of a movable body.

    Declaration
    public XRMovableBody(XROrigin xrOrigin, IXRBodyPositionEvaluator bodyPositionEvaluator)
    Parameters
    Type Name Description
    XROrigin xrOrigin

    The XR Origin associated with the body.

    IXRBodyPositionEvaluator bodyPositionEvaluator

    The object that determines the position of the user's 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)