unreal.AnimationWarpingLibrary¶
- class unreal.AnimationWarpingLibrary(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
BlueprintFunctionLibraryExposes operations related to Animation Warping
C++ Source:
Plugin: AnimationWarping
Module: AnimationWarpingRuntime
File: AnimationWarpingLibrary.h
- classmethod get_curve_value_from_animation(animation, curve_name, time) float or None¶
Helper function to extract the value of a curve in an animation at a given time
- Parameters:
animation (AnimSequenceBase)
curve_name (Name)
time (float)
- Returns:
out_value (float):
- Return type:
float or None
- classmethod get_float_value_from_curve(curve, time) float or None¶
Helper function to extract the float value from a curve asset at a given time. To be used inside AnimationBlueprint and assumes AnimBP holds reference to CurveAsset for it to be valid.
- Parameters:
curve (CurveFloat)
time (float)
- Returns:
out_value (float):
- Return type:
float or None
- classmethod get_offset_root_transform(node) Transform¶
Get the current world space transform from the offset root bone animgraph node
- Parameters:
node (AnimNodeReference)
- Return type:
- classmethod get_vector_value_from_curve(curve, time) Vector or None¶
Helper function to extract the vector value from a curve asset at a given time. To be used inside AnimationBlueprint and assumes AnimBP holds reference to CurveAsset for it to be valid.
- Parameters:
curve (CurveVector)
time (float)
- Returns:
out_value (Vector):
- Return type:
Vector or None