class MAGES::Editor::MAGESOverlayItemAttribute¶
Overview¶
The overlay item attribute. More…
class MAGESOverlayItemAttribute: public System.Attribute { public: // properties int Priority; // methods MAGESOverlayItemAttribute(OverlayPlayModeState mode, int priority = 0); bool IsApplicableToPlayMode(bool isPlaying); };
Detailed Documentation¶
The overlay item attribute.
Properties¶
int Priority
Gets the priority of the overlay item.
Methods¶
MAGESOverlayItemAttribute(OverlayPlayModeState mode, int priority = 0)
Initializes a new instance of the MAGESOverlayItemAttribute class.
Parameters:
mode |
The mode. |
priority |
The priority of the overlay item. |
bool IsApplicableToPlayMode(bool isPlaying)
Gets a value indicating whether the overlay is applicable to the current play mode.
Parameters:
isPlaying |
True if playing. |
Returns:
If the item should be shown in this mode.