unreal.AnimDatabaseIndexLibrary¶
- class unreal.AnimDatabaseIndexLibrary(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
BlueprintFunctionLibraryBlueprint library of helper functions for Animation Database Indices
C++ Source:
Plugin: AnimDatabase
Module: AnimDatabase
File: AnimDatabaseIndex.h
- classmethod find_attach_bone_match(index, attach_bone_location, attach_bone_direction, root_linear_velocity, root_transform, location_scale=100.000000, velocity_scale=200.000000, location_weight=1.000000, direction_weight=1.000000, velocity_weight=1.000000) (out_anim_sequence=AnimSequence, out_anim_sequence_time=float, out_anim_sequence_mirrored=bool, out_minimum_value=float) or None¶
Finds the best matching pose for the provided attach bone location and direction
- Parameters:
- Returns:
out_anim_sequence (AnimSequence):
out_anim_sequence_time (float):
out_anim_sequence_mirrored (bool):
out_minimum_value (float):
- Return type:
tuple or None
- classmethod find_transition_pose_match(index, left_toe_bone_location, left_toe_bone_velocity, right_toe_bone_location, right_toe_bone_velocity, root_transform, random_state, style_name='None', blend_time=0.200000, location_scale=100.000000, velocity_scale=200.000000, location_weight=1.000000, velocity_weight=1.000000, random_weight=0.100000) (out_anim_sequence=AnimSequence, out_anim_sequence_time=float, out_anim_sequence_mirrored=bool, out_minimum_value=float, random_state=int32) or None¶
Finds the best matching transition pose given the Transition Pose index
- Parameters:
index (AnimDatabaseIndex)
left_toe_bone_location (Vector)
left_toe_bone_velocity (Vector)
right_toe_bone_location (Vector)
right_toe_bone_velocity (Vector)
root_transform (Transform)
random_state (int32)
style_name (Name)
blend_time (float)
location_scale (float)
velocity_scale (float)
location_weight (float)
velocity_weight (float)
random_weight (float)
- Returns:
out_anim_sequence (AnimSequence):
out_anim_sequence_time (float):
out_anim_sequence_mirrored (bool):
out_minimum_value (float):
random_state (int32):
- Return type:
tuple or None