Actionable

This is a base interface for nodes that respond to input actions. While ActionIO shouldn't interact with nodes directly, input handling systems like FocusIO or HoverIO will expect nodes to implement this interface if they support input actions.

Members

Functions

actionImpl
bool actionImpl(IO io, int number, InputActionID action, bool isActive)

Handle an input action.

blocksInput
bool blocksInput()

Determine if the node can currently handle input.

opEquals
bool opEquals(Object other)

Memory safe and const object comparison.

Mixin templates

enableInputActions
mixintemplate enableInputActions()
Undocumented in source.

Meta