Class OpenXRCompositionLayersFeature
Enables OpenXR Composition Layers.
Inherited Members
Namespace: UnityEngine.XR.OpenXR.Features.CompositionLayers
Assembly: Unity.XR.OpenXR.dll
Syntax
public class OpenXRCompositionLayersFeature : OpenXRFeature
Fields
FeatureId
Declaration
public const string FeatureId
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 |