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 |