class MAGES::SceneGraph::DisplayOnlyOnActionsAttribute¶
Overview¶
Used on serialized properties declared inside EffectData. Only allows the specified property to be displayed when an action is one of the specified types. More…
class DisplayOnlyOnActionsAttribute: public MAGES::SceneGraph::EffectPropertyAttribute { public: // methods DisplayOnlyOnActionsAttribute(params System.Type[] applicableActions); override bool IsApplicable(System.Type actionDataType); };
Inherited Members¶
public: // methods bool IsApplicable(System.Type actionDataType);
Detailed Documentation¶
Used on serialized properties declared inside EffectData. Only allows the specified property to be displayed when an action is one of the specified types.
Methods¶
DisplayOnlyOnActionsAttribute(params System.Type[] applicableActions)
Initializes a new instance of the DisplayOnlyOnActionsAttribute class.
Parameters:
applicableActions |
The actions on which the property can only be displayed. |