docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct MRReferencePoint

    Provides a template for tracked reference point data

    Implements
    IMRTrackable
    IEquatable<MRReferencePoint>
    Inherited Members
    ValueType.Equals(object)
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.MARS.Data
    Assembly: Unity.MARS.Interfaces.dll
    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

    pose

    The pose of this reference point

    Declaration
    public Pose pose { readonly get; set; }
    Property Value
    Type Description
    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
    bool

    GetHashCode()

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

    Implements

    IMRTrackable
    IEquatable<T>
    In This Article
    Back to top
    Copyright © 2025 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)