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.
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class SkyUniqueID : Attribute, _Attribute
Constructors
SkyUniqueID(Int32)
Attribute SkyUniqueID constructor.
Declaration
public SkyUniqueID(int uniqueID)
Parameters
Type | Name | Description |
---|---|---|
Int32 | uniqueID | Sky unique ID. Needs to be different from all other registered unique IDs. |