ElementInfoAttribute
Provide a information to order and categorize at element level (in a category).
Read time 3 minutesLast updated 13 days ago
Definition
- Type: Class
- Namespace: UnityEngine.Categorization
- Assembly: UnityEngine.CoreModule
- Inherits from: Attribute
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]public sealed class ElementInfoAttribute : Attribute
Remarks
Element will be sorted in the category using first the ElementInfoAttribute.Order property, and if equals, using then the ElementInfoAttribute.Name.
See also IRenderPipelineGraphicsSettings for usage example.
See also CategoryInfoAttribute.
Properties
Property | Description |
|---|---|
| Name | The name to use for this element. |
| Order | The position this element should take in the parent category. |