Class SkyUniqueID
This attribute is used to associate a unique ID to a sky class. This is needed to be able to automatically register sky classes and avoid collisions and refactoring class names causing data compatibility issues.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class SkyUniqueID : Attribute
Constructors
SkyUniqueID(int)
Attribute SkyUniqueID constructor.
Declaration
public SkyUniqueID(int uniqueID)
Parameters
Type | Name | Description |
---|---|---|
int | uniqueID | Sky unique ID. Needs to be different from all other registered unique IDs. |