docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Interface IXRBodyPositionEvaluator

    Interface for an object that determines the position of the user's body for a given XROrigin. This is used by implementations of IXRBodyTransformation to transform the XR Origin using the user's body, rather than the tracking origin itself, as the frame of reference.

    Namespace: UnityEngine.XR.Interaction.Toolkit.Locomotion
    Assembly: solution.dll
    Syntax
    public interface IXRBodyPositionEvaluator

    Methods

    Name Description
    GetBodyGroundLocalPosition(XROrigin)

    Gets the position of where the user's body is grounded (e.g. their feet), in the local space of the Origin.

    Extension Methods

    XRBodyPositionEvaluatorExtensions.GetBodyGroundWorldPosition(IXRBodyPositionEvaluator, XROrigin)
    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)