Class PlatformLayerDataFieldAttribute
Additional attributes for SerializeField in PlatformLayerData.
Inherited Members
Namespace: Unity.XR.CompositionLayers.Layers
Assembly: Unity.XR.CompositionLayers.dll
Syntax
[AttributeUsage(AttributeTargets.Field)]
public class PlatformLayerDataFieldAttribute : Attribute
Constructors
PlatformLayerDataFieldAttribute(Type[])
Constructor.
Declaration
public PlatformLayerDataFieldAttribute(Type[] SupportedLayerDataTypes)
Parameters
Type | Name | Description |
---|---|---|
Type[] | SupportedLayerDataTypes | platformm supported layer types |
Fields
SupportedLayerDataTypes
Contains all supported layer data types. null or Empty means all supported.
Declaration
public Type[] SupportedLayerDataTypes
Field Value
Type | Description |
---|---|
Type[] |