Class MaterialDecoratorAttribute
Attribute to indicate the effect associated with the MaterialDecorator.
Namespace: Evergine.Framework.Graphics
Assembly: Evergine.Framework.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class MaterialDecoratorAttribute : Attribute
Constructors
MaterialDecoratorAttribute(Guid)
Initializes a new instance of the MaterialDecoratorAttribute class.
Declaration
public MaterialDecoratorAttribute(Guid effectId)
Parameters
Type | Name | Description |
---|---|---|
Guid | effectId | The effect ID. |
MaterialDecoratorAttribute(string)
Initializes a new instance of the MaterialDecoratorAttribute class.
Declaration
public MaterialDecoratorAttribute(string effectId)
Parameters
Type | Name | Description |
---|---|---|
string | effectId | The effect ID. |
Properties
EffectId
Gets the ID of the associated effect.
Declaration
public Guid EffectId { get; }
Property Value
Type | Description |
---|---|
Guid |