Table of Contents

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
object
EnumImageAttribute
Inherited Members
Extension Methods

Constructors

EnumImageAttribute(object, string)

public EnumImageAttribute(object value, string resourceName)

Parameters

value object
resourceName string

Properties

ResourceName

public string ResourceName { get; }

Property Value

string

Value

The enum value the image stands for.

public object Value { get; }

Property Value

object