Struct XRHumanBody | AR Subsystems | 2.2.0-preview.6
docs.unity3d.com
    Show / Hide Table of Contents

    Struct XRHumanBody

    Container for the data representing a trackable human body.

    Namespace: UnityEngine.XR.ARSubsystems
    Syntax
    public struct XRHumanBody : IEquatable<XRHumanBody>, ITrackable

    Properties

    estimatedHeightScaleFactor

    The scale factor that relates the implementation's default body height to the estimated height.

    Declaration
    public float estimatedHeightScaleFactor { get; }
    Property Value
    Type Description
    Single

    The scale factor that relates the implementation's default body height to the estimated height.

    nativePtr

    The native pointer to implementation-specific human body.

    Declaration
    public IntPtr nativePtr { get; }
    Property Value
    Type Description
    IntPtr

    The native pointer to implementation-specific human body.

    pose

    The pose for the human body origin.

    Declaration
    public Pose pose { get; }
    Property Value
    Type Description
    Pose

    The pose for the human body origin.

    Implements
    ITrackable.pose

    trackableId

    The trackable identifier for the human body.

    Declaration
    public TrackableId trackableId { get; }
    Property Value
    Type Description
    TrackableId

    The trackable identifier for the human body.

    Implements
    ITrackable.trackableId

    trackingState

    The tracking state for the human body.

    Declaration
    public TrackingState trackingState { get; }
    Property Value
    Type Description
    TrackingState

    The tracking state for the human body.

    Implements
    ITrackable.trackingState

    Methods

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    ValueType.Equals(Object)

    Equals(XRHumanBody)

    Declaration
    public bool Equals(XRHumanBody other)
    Parameters
    Type Name Description
    XRHumanBody other
    Returns
    Type Description
    Boolean

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()

    Operators

    Equality(XRHumanBody, XRHumanBody)

    Declaration
    public static bool operator ==(XRHumanBody lhs, XRHumanBody rhs)
    Parameters
    Type Name Description
    XRHumanBody lhs
    XRHumanBody rhs
    Returns
    Type Description
    Boolean

    Inequality(XRHumanBody, XRHumanBody)

    Declaration
    public static bool operator !=(XRHumanBody lhs, XRHumanBody rhs)
    Parameters
    Type Name Description
    XRHumanBody lhs
    XRHumanBody rhs
    Returns
    Type Description
    Boolean
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023