class MAGES::Editor::MAGESOverlayItemAttribute

Overview

The overlay item attribute. More…

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

    MAGESOverlayItemAttribute(OverlayPlayModeState mode);
    bool IsApplicableToPlayMode(bool isPlaying);
};

Detailed Documentation

The overlay item attribute.

Methods

MAGESOverlayItemAttribute(OverlayPlayModeState mode)

Initializes a new instance of the MAGESOverlayItemAttribute class.

Parameters:

mode

The mode.

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.