unreal.AnimNextController¶
- class unreal.AnimNextController(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
AnimNextControllerBaseImplements 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)
- 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:
node (RigVMUnitNode)
trait_defaults (InstancedStruct)
trait_index (int32)
setup_undo_redo (bool)
print_python_command (bool)
- Return type:
- 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)
- 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)
- 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)