class MAGES::SceneGraph::Editor::ActionReferenceEntry

Overview

One selectable action in an ActionReference picker. More…

class ActionReferenceEntry
{
public:
    // properties

    ActionReferenceEntry None;
    string Id;
    string Name;
    string Description;
    bool IsNone;

    // methods

    ActionReferenceEntry(string id, string name, string description);
};

Detailed Documentation

One selectable action in an ActionReference picker.

Properties

ActionReferenceEntry None

Gets the entry that clears a reference. Offered first in every picker.

string Id

Gets the ID this entry writes into the reference. Empty for the None entry.

string Name

Gets the display name of the action.

string Description

Gets the secondary line for this entry, the action’s type name.

bool IsNone

Gets a value indicating whether picking this entry clears the reference.

Methods

ActionReferenceEntry(string id, string name, string description)

Initializes a new instance of the ActionReferenceEntry class.

Parameters:

id

The ID that gets stored in the reference.

name

The action name shown as the entry’s title.

description

The line shown under the title.