struct MAGES::SceneGraph::Editor::ActionReferenceDisplay

Overview

The result of resolving a stored ID against a catalog. More…

struct ActionReferenceDisplay
{
    // properties

    ActionReferenceDisplayState State;
    string Text;
    string CachedName;

    // methods

    ActionReferenceDisplay(
        ActionReferenceDisplayState state,
        string text,
        string cachedName
    );
};

Detailed Documentation

The result of resolving a stored ID against a catalog.

Properties

ActionReferenceDisplayState State

Gets the state of the reference.

string Text

Gets the text to show in the field.

string CachedName

Gets the name that should be cached on the reference, refreshed from the catalog when the reference resolved.

Methods

ActionReferenceDisplay(
    ActionReferenceDisplayState state,
    string text,
    string cachedName
)

Initializes a new instance of the ActionReferenceDisplay struct.

Parameters:

state

The state of the reference.

text

The text to show in the field.

cachedName

The name that should be cached on the reference.