Struct CompositionLayerManager.LayerInfo
Information about composition layers registered with the manager.
Inherited Members
Namespace: Unity.XR.CompositionLayers.Services
Assembly: Unity.XR.CompositionLayers.dll
Syntax
public struct CompositionLayerManager.LayerInfo
Fields
Id
Unique id assigned by the CompositionLayerManager for the registered layer.
Declaration
public int Id
Field Value
| Type | Description |
|---|---|
| int |
Remarks
Prior to the introduction of manager-generated identifiers, this value was sourced from
UnityEngine.Object.GetInstanceID(). It is now an independent counter managed by
CompositionLayerManager to remove the dependency on GetInstanceID(),
which is scheduled for deprecation in a future version of Unity.
The value remains an int and continues to be unique for the
lifetime of a given manager session.
Layer
The actual layer instance.
Declaration
public CompositionLayer Layer
Field Value
| Type | Description |
|---|---|
| CompositionLayer |