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

    Struct MRMarker

    Provides a template for tracked marker data

    Namespace: Unity.MARS
    Syntax
    [Serializable]
    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
    Implements
    IMRTrackable.id

    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
    Implements
    IMRTrackable.pose

    Methods

    Equals(MRMarker)

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

    GetHashCode()

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

    ToString()

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