docs.unity3d.com
    Show / Hide Table of Contents

    Struct MRReferencePoint

    Provides a template for tracked reference point data

    Namespace: Unity.MARS.Data
    Syntax
    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 = default(MARSTrackingState))
    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 { get; set; }
    Property Value
    Type Description
    MarsTrackableId
    Implements
    IMRTrackable.id

    pose

    The pose of this reference point

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

    trackingState

    The tracking state of this tracked object

    Declaration
    public MARSTrackingState trackingState { 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
    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