Search Results for

    Show / Hide Table of Contents

    Class MaterialDecoratorAttribute

    Attribute to indicate the effect associated with the MaterialDecorator.

    Inheritance
    object
    Attribute
    MaterialDecoratorAttribute
    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

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX