unreal.CachedAnimDataLibrary

class unreal.CachedAnimDataLibrary(outer: Optional[Object] = None, name: Union[Name, str] = 'None')

Bases: BlueprintFunctionLibrary

A library of commonly used functionality from the CachedAnimData family, exposed to blueprint.

C++ Source:

  • Module: Engine

  • File: CachedAnimDataLibrary.h

classmethod state_machine_get_global_weight(anim_instance, cached_anim_state_data) float

Returns the weight of a state, relative to the graph (specified in the provided FCachedAnimStateData)

Parameters:
Return type:

float

classmethod state_machine_get_local_weight(anim_instance, cached_anim_state_data) float

Returns the weight of a state, relative to its state machine (specified in the provided FCachedAnimStateData)

Parameters:
Return type:

float

classmethod state_machine_is_state_relevant(anim_instance, cached_anim_state_data) bool

Returns whether a state is relevant (specified in the provided FCachedAnimStateData)

Parameters:
Return type:

bool