docs.unity3d.com
    目次を表示する/隠す

    Struct MRReferencePoint

    Provides a template for tracked reference point data

    Namespace: Unity.MARS.Data
    Syntax
    [MovedFrom("Unity.MARS")]
    public struct MRReferencePoint : IMRTrackable, IEquatable<MRReferencePoint>

    Constructors

    MRReferencePoint(Pose, MARSTrackingState)

    Create MRReferencePoint used for tracked reference point data

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

    Pose of point

    MARSTrackingState state

    Point's tracking 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 — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)