ElementInfoAttribute
Provide a information to order and categorize at element level (in a category).
読み終わるまでの所要時間 3 分最終更新 1ヶ月前
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. |