docs.unity.cn
    Show / Hide Table of Contents

    Struct Bone

    Represents a 3 dimensional, tracked bone within a hierarchy of other bones.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Namespace: UnityEngine.InputSystem.XR
    Syntax
    public struct Bone

    Properties

    parentBoneIndex

    The index with the device's controls array where the parent bone resides.

    Declaration
    public uint parentBoneIndex { readonly get; set; }
    Property Value
    Type Description
    UInt32

    position

    The tracked position of the bone.

    Declaration
    public Vector3 position { readonly get; set; }
    Property Value
    Type Description
    Vector3

    rotation

    The tracked rotation of the bone.

    Declaration
    public Quaternion rotation { readonly get; set; }
    Property Value
    Type Description
    Quaternion
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, November 3, 2022
    Terms of use