docs.unity3d.com
    显示 / 隐藏目录

    Struct MRReferencePoint

    Provides a template for tracked reference point data

    Namespace: Unity.MARS
    Syntax
    public struct MRReferencePoint : IMRTrackable, IEquatable<MRReferencePoint>

    Constructors

    MRReferencePoint(Pose, MARSTrackingState)

    Declaration
    public MRReferencePoint(Pose pose, MARSTrackingState state = MARSTrackingState.Unknown)
    Parameters
    Type Name Description
    Pose pose
    MARSTrackingState state

    Properties

    id

    The id of this reference point as determined by the provider

    Declaration
    public MarsTrackableId id { readonly get; set; }
    Property Value
    Type Description
    MarsTrackableId
    Implements
    IMRTrackable.id

    pose

    The pose of this reference point

    Declaration
    public Pose pose { readonly get; set; }
    Property Value
    Type Description
    Pose
    Implements
    IMRTrackable.pose

    trackingState

    The tracking state of this tracked object

    Declaration
    public MARSTrackingState trackingState { readonly get; set; }
    Property Value
    Type Description
    MARSTrackingState

    Methods

    Equals(MRReferencePoint)

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

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)