Class OpenXRCompositionLayersFeature
Enables OpenXR Composition Layers.
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.XR.OpenXR.Features.CompositionLayers
Assembly: Unity.XR.OpenXR.dll
Syntax
public class OpenXRCompositionLayersFeature : OpenXRFeature
Fields
FeatureId
Declaration
public const string FeatureId = "com.unity.openxr.feature.compositionlayers"
Field Value
Type | Description |
---|---|
string |
Methods
OnSessionBegin(ulong)
Called after xrSessionBegin.
Declaration
protected override void OnSessionBegin(ulong xrSession)
Parameters
Type | Name | Description |
---|---|---|
ulong | xrSession | Handle of the xrSession |
Overrides
OnSessionEnd(ulong)
Called before xrEndSession.
Declaration
protected override void OnSessionEnd(ulong xrSession)
Parameters
Type | Name | Description |
---|---|---|
ulong | xrSession | Handle of the xrSession |