docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface ISpatialCapabilityConfiguration

    A C# interface used to enforce conformance of derived structs from XrSpatialCapabilityConfigurationBaseHeaderEXT.

    Namespace: UnityEngine.XR.OpenXR.NativeTypes
    Assembly: Unity.XR.OpenXR.dll
    Syntax
    public interface ISpatialCapabilityConfiguration

    Properties

    capability

    The capability to configure.

    Declaration
    XrSpatialCapabilityEXT capability { get; }
    Property Value
    Type Description
    XrSpatialCapabilityEXT

    enabledComponentCount

    The count of elements in enabledComponents. Must be greater than 0.

    Declaration
    uint enabledComponentCount { get; }
    Property Value
    Type Description
    uint

    enabledComponents

    Pointer to an array of component types to enable for this capability. Must be non-null.

    Declaration
    XrSpatialComponentTypeEXT* enabledComponents { get; }
    Property Value
    Type Description
    XrSpatialComponentTypeEXT*

    next

    null or a pointer to the next structure in a structure chain.

    Declaration
    void* next { get; }
    Property Value
    Type Description
    void*

    type

    The XrStructureType of the struct.

    Declaration
    XrStructureType type { get; }
    Property Value
    Type Description
    XrStructureType
    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)