class MAGES::SceneGraph::EffectPropertyAttribute

Overview

Base class for attributes that can be used to decorate effect data properties. More…

class EffectPropertyAttribute: public System.Attribute
{
public:
    // methods

    virtual abstract bool IsApplicable(System.Type actionDataType) = 0;
};

// direct descendants

class DisplayOnlyOnActionsAttribute;
class DontDisplayOnActionAttribute;

Detailed Documentation

Base class for attributes that can be used to decorate effect data properties.

Methods

virtual abstract bool IsApplicable(System.Type actionDataType) = 0

Returns true if the attribute is applicable to the given action data type.

Parameters:

actionDataType

The action data type context.

Returns:

Whether (or not) this property is applicable to the action type.