unreal.AnimNextController

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

Bases: AnimNextControllerBase

Implements AnimNext RigVM controller extensions

C++ Source:

  • Plugin: UAFAnimGraph

  • Module: UAFAnimGraphUncookedOnly

  • File: AnimNextController.h

Editor Properties: (see get_editor_property/set_editor_property)

  • modified_event (RigVMGraphModifiedDynamicEvent): [Read-Write]

add_trait_by_name(node_name, new_trait_type_name, pin_index, new_trait_default_value='', setup_undo_redo=True, print_python_command=False) Name

Adds a new Trait to the Stack, with default struct values Returns Trait Instance Name (or NAME_None on failure)

Parameters:
  • node_name (Name)

  • new_trait_type_name (Name)

  • pin_index (int32)

  • new_trait_default_value (str)

  • setup_undo_redo (bool)

  • print_python_command (bool)

Return type:

Name

add_trait_struct(node, trait_defaults, trait_index, setup_undo_redo, print_python_command) Name

Adds a new Trait to the Stack, with default struct values Returns Trait Instance Name (or NAME_None on failure)

Parameters:
Return type:

Name

remove_trait_by_name(node_name, trait_instance_name, setup_undo_redo=True, print_python_command=False) bool

Removes a Trait from the Stack, using Trait Instance Name Returns operation success (true) or failure (false)

Parameters:
  • node_name (Name)

  • trait_instance_name (Name)

  • setup_undo_redo (bool)

  • print_python_command (bool)

Return type:

bool

set_trait_pin_index(node_name, trait_instance_name, new_pin_index, setup_undo_redo=True, print_python_command=False) bool

Move a Trait from its current PinIndex to the specified one (moving it visually in the stack) Returns operation success (true) or failure (false)

Parameters:
  • node_name (Name)

  • trait_instance_name (Name)

  • new_pin_index (int32)

  • setup_undo_redo (bool)

  • print_python_command (bool)

Return type:

bool

swap_trait_by_name(node_name, trait_instance_name, current_trait_pin_index, new_trait_type_name, new_trait_default_value='', setup_undo_redo=True, print_python_command=False) Name

Swap a Trait from the Stack with a new one, using existing Trait Instance Name and new Trait Type Name Returns Trait Instance Name (or NAME_None on failure)

Parameters:
  • node_name (Name)

  • trait_instance_name (Name)

  • current_trait_pin_index (int32)

  • new_trait_type_name (Name)

  • new_trait_default_value (str)

  • setup_undo_redo (bool)

  • print_python_command (bool)

Return type:

Name