unreal.AnimGraphLibrary

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

Bases: unreal.BlueprintFunctionLibrary

Kismet Animation Library

C++ Source:

  • Module: AnimGraphRuntime
  • File: KismetAnimationLibrary.h
classmethod direction_between_sockets(component, socket_or_bone_name_from, socket_or_bone_name_to) → Vector

K2 Direction Between Sockets

Parameters:
Returns:

Return type:

Vector

classmethod distance_between_sockets(component, socket_or_bone_name_a, socket_space_a, socket_or_bone_name_b, socket_space_b, remap_range, range_min, range_max, out_range_min, out_range_max) → float

K2 Distance Between Two Sockets and Map Range

Parameters:
Returns:

Return type:

float

classmethod look_at(current_transform, target_position, look_at_vector, use_up_vector, up_vector, clamp_cone_in_degree) → Transform

K2 Look At

Parameters:
Returns:

Return type:

Transform

classmethod make_float_from_perlin_noise(value, range_out_min, range_out_max) → float

K2 Make Perlin Noise and Remap

Parameters:
Returns:

Return type:

float

classmethod make_vector_from_perlin_noise(x, y, z, range_out_min_x, range_out_max_x, range_out_min_y, range_out_max_y, range_out_min_z, range_out_max_z) → Vector

This function creates perlin noise from input X, Y, Z, and then range map to RangeOut, and out put to OutX, OutY, OutZ

Parameters:
Returns:

Return type:

Vector

classmethod two_bone_ik(root_pos, joint_pos, end_pos, joint_target, effector, allow_stretching, start_stretch_ratio, max_stretch_scale) -> (out_joint_pos=Vector, out_end_pos=Vector)

K2 Two Bone IK

Parameters:
Returns:

out_joint_pos (Vector):

out_end_pos (Vector):

Return type:

tuple