Class EnumImageAttribute
- Namespace
- Stride.Core.Assets.Editor.Annotations
- Assembly
- Stride.Core.Assets.dll
Declares the editor image of an enum value, an embedded resource of the attributed assembly (a runtime, Assets or
Editor package). ResourceName is the full manifest resource name or its end, such as Play.png.
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public sealed class EnumImageAttribute : Attribute
- Inheritance
-
objectEnumImageAttribute
- Inherited Members
- Extension Methods
Constructors
EnumImageAttribute(object, string)
public EnumImageAttribute(object value, string resourceName)
Parameters
valueobjectresourceNamestring
Properties
ResourceName
public string ResourceName { get; }
Property Value
Value
The enum value the image stands for.
public object Value { get; }
Property Value
- object