docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct MRMarker

    Provides a template for tracked marker data

    Implements
    IMRTrackable
    IEquatable<MRMarker>
    Inherited Members
    ValueType.Equals(object)
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.MARS.Data
    Assembly: Unity.MARS.Interfaces.dll
    Syntax
    [Serializable]
    [MovedFrom("Unity.MARS")]
    public struct MRMarker : IMRTrackable, IEquatable<MRMarker>

    Properties

    extents

    The extents of this marker

    Declaration
    public Vector2 extents { get; set; }
    Property Value
    Type Description
    Vector2

    id

    The id of this tracked marker as determined by the provider

    Declaration
    public MarsTrackableId id { get; set; }
    Property Value
    Type Description
    MarsTrackableId

    markerId

    The guid of this marker

    Declaration
    public Guid markerId { get; set; }
    Property Value
    Type Description
    Guid

    pose

    The pose of this marker

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

    texture

    The texture of this marker

    Declaration
    public Texture2D texture { get; set; }
    Property Value
    Type Description
    Texture2D

    trackingState

    The current quality of spatial tracking of this marker

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

    Methods

    Equals(MRMarker)

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

    GetHashCode()

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

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    ValueType.ToString()

    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)