unreal.AnimationStateMachineLibrary

class unreal.AnimationStateMachineLibrary(outer=None, name='None')

Bases: unreal.BlueprintFunctionLibrary

Exposes operations to be performed on anim state machine node contexts

C++ Source:

  • Module: AnimGraphRuntime

  • File: AnimationStateMachineLibrary.h

classmethod convert_to_animation_state_result(node) -> (animation_state=AnimationStateResultReference, result=AnimNodeReferenceConversionResult)

Get an anim state reference from an anim node reference

Parameters

node (AnimNodeReference) –

Returns

animation_state (AnimationStateResultReference):

result (AnimNodeReferenceConversionResult):

Return type

tuple

classmethod convert_to_animation_state_result_pure(node) -> (animation_state=AnimationStateResultReference, result=bool)

Get an anim state reference from an anim node reference (pure)

Parameters

node (AnimNodeReference) –

Returns

animation_state (AnimationStateResultReference):

result (bool):

Return type

tuple

classmethod is_state_blending_in(update_context, node) bool

Returns whether the state the node belongs to is blending in

Parameters
Return type

bool

classmethod is_state_blending_out(update_context, node) bool

Returns whether the state the node belongs to is blending out

Parameters
Return type

bool