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

    Struct MRMarker

    Provides a template for tracked marker data

    Namespace: Unity.MARS.Data
    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
    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

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