Class MaterialDecoratorAttribute
Attribute to indicate the effect associated to the MaterialDecorator.
Inherited Members
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 |