docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AprilTagConfigOptions

    Configuration options for April tag detection using OpenXR spatial marker tracking.

    Inheritance
    object
    MarkerConfigOptions
    AprilTagConfigOptions
    Inherited Members
    MarkerConfigOptions.m_MarkersName
    MarkerConfigOptions.enableCapability
    MarkerConfigOptions.enableFixedSizeMarker
    MarkerConfigOptions.fixedSizeMarkerSideLength
    MarkerConfigOptions.enableStaticMarker
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.XR.OpenXR.Features.SpatialEntities
    Assembly: Unity.XR.SpatialEntities.dll
    Syntax
    [Serializable]
    public class AprilTagConfigOptions : MarkerConfigOptions

    Constructors

    AprilTagConfigOptions()

    Construct an instance.

    Declaration
    public AprilTagConfigOptions()

    Properties

    aprilTagDictionary

    Selects the April tag dictionary used by the runtime for detection and tracking.

    Declaration
    public XrSpatialMarkerAprilTagDictEXT aprilTagDictionary { get; set; }
    Property Value
    Type Description
    XrSpatialMarkerAprilTagDictEXT
    Remarks

    Configures which predefined April tag dictionary (for example, Tag36h11, Tag25h9) is used when the April tags are enabled and supported. This option cannot be changed when the Spatial Marker Feature is not enabled or is actively running.

    In This Article
    Back to top
    Copyright © 2026 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)