unreal.MotionMatchingAnimNodeLibrary
¶
- class unreal.MotionMatchingAnimNodeLibrary(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
BlueprintFunctionLibrary
Exposes operations that can be run on a Motion Matching node via Anim Node Functions such as “On Become Relevant” and “On Update”.
C++ Source:
Plugin: PoseSearch
Module: PoseSearch
File: MotionMatchingAnimNodeLibrary.h
- classmethod convert_to_motion_matching_node(node) -> (MotionMatchingAnimNodeReference, result=AnimNodeReferenceConversionResult)¶
Get a motion matching node context from an anim node context
- Parameters:
node (AnimNodeReference) –
- Returns:
result (AnimNodeReferenceConversionResult):
- Return type:
- classmethod convert_to_motion_matching_node_pure(node) -> (motion_matching_node=MotionMatchingAnimNodeReference, result=bool)¶
Get a motion matching node context from an anim node context (pure)
- Parameters:
node (AnimNodeReference) –
- Returns:
motion_matching_node (MotionMatchingAnimNodeReference):
result (bool):
- Return type:
tuple
- classmethod get_motion_matching_search_result(motion_matching_node) -> (result=PoseSearchBlueprintResult, is_result_valid=bool)¶
Get Motion Matching Search Result
- Parameters:
motion_matching_node (MotionMatchingAnimNodeReference) –
- Returns:
result (PoseSearchBlueprintResult):
is_result_valid (bool):
- Return type:
tuple
- classmethod reset_databases_to_search(motion_matching_node, interrupt_mode) None ¶
Clear the effects of SetDatabaseToSearch/SetDatabasesToSearch and resume searching the Database property on the motion matching node.
- Parameters:
motion_matching_node (MotionMatchingAnimNodeReference) – The motion matching node to operate on.
interrupt_mode (PoseSearchInterruptMode) – mode to control the continuing pose search (the current animation that’s playing)
- classmethod set_database_to_search(motion_matching_node, database, interrupt_mode) None ¶
Set the database to search on the motion matching node. This overrides the Database property on the motion matching node.
- Parameters:
motion_matching_node (MotionMatchingAnimNodeReference) – The motion matching node to operate on.
database (PoseSearchDatabase) – The database for the motion matching node to search.
interrupt_mode (PoseSearchInterruptMode) – mode to control the continuing pose search (the current animation that’s playing)
- classmethod set_databases_to_search(motion_matching_node, databases, interrupt_mode) None ¶
Set the database to search on the motion matching node. This overrides the Database property on the motion matching node.
- Parameters:
motion_matching_node (MotionMatchingAnimNodeReference) – The motion matching node to operate on.
databases (Array[PoseSearchDatabase]) – Array of databases for the motion matching node to search.
interrupt_mode (PoseSearchInterruptMode) – mode to control the continuing pose search (the current animation that’s playing)
- classmethod set_interrupt_mode(motion_matching_node, interrupt_mode) None ¶
Ignore the continuing pose (the current clip that’s playing) and force a new search.
- Parameters:
motion_matching_node (MotionMatchingAnimNodeReference) – The motion matching node to operate on.
interrupt_mode (PoseSearchInterruptMode) – mode to control the continuing pose search (the current animation that’s playing)