class MAGES::SceneGraph::Editor::StepItem

Overview

Represents a step item UI in the steps panel. More…

class StepItem: public VisualElement
{
public:
    // properties

    StepEvent Event;
    int Index;

    // methods

    StepItem(
        SerializedProperty data,
        int index,
        StepEvent stepEvent,
        Action deleteAction,
        Action moveAction
    );
};

Detailed Documentation

Represents a step item UI in the steps panel.

Properties

StepEvent Event

Gets or sets the step event.

int Index

Gets or sets the index into the step event list.

Methods

StepItem(
    SerializedProperty data,
    int index,
    StepEvent stepEvent,
    Action deleteAction,
    Action moveAction
)

Initializes a new instance of the StepItem class.

Parameters:

data

The data.

index

The index into the step event list.

stepEvent

The step event.

deleteAction

The delete action.

moveAction

The move action.