unreal.StateTreeNodeBlueprintBase

class unreal.StateTreeNodeBlueprintBase(outer: Object | None = None, name: Name | str = 'None')

Bases: Object

State Tree Node Blueprint Base

C++ Source:

  • Plugin: StateTree

  • Module: StateTreeModule

  • File: StateTreeNodeBlueprintBase.h

Editor Properties: (see get_editor_property/set_editor_property)

  • description (Text): [Read-Write] Description of the node.

  • icon_color (Color): [Read-Write] Color of the icon.

  • icon_name (Name): [Read-Write] Name of the icon in format:

    StyleSetName | StyleName [ | SmallStyleName | StatusOverlayStyleName] SmallStyleName and StatusOverlayStyleName are optional. Example: “StateTreeEditorStyle|Node.Animation”

receive_get_description(formatting) Text

Event to implement to get node description.

Parameters:

formatting (StateTreeNodeFormatting)

Return type:

Text

request_transition(target_state, priority=StateTreeTransitionPriority.NORMAL) None

Request state transition.

Parameters:
send_event(event) None

Sends event to the StateTree.

Parameters:

event (StateTreeEvent)