unreal.AnimDatabasePoseStateLibrary

class unreal.AnimDatabasePoseStateLibrary(outer: Object | None = None, name: Name | str = 'None')

Bases: BlueprintFunctionLibrary

This provides a blueprint interface to the pose state.

C++ Source:

  • Plugin: AnimDatabase

  • Module: AnimDatabase

  • File: AnimDatabasePose.h

classmethod make_pose_state() AnimDatabasePoseState

Construct a new Empty Pose State

Return type:

AnimDatabasePoseState

classmethod pose_state_angle_attribute_degrees(pose_state, attribute_index) float

Get the given attribute as a angle in degrees

Parameters:
Return type:

float

classmethod pose_state_angle_attribute_radians(pose_state, attribute_index) float

Get the given attribute as a angle in radians

Parameters:
Return type:

float

classmethod pose_state_angular_velocity_attribute(pose_state, attribute_index) Vector

Get the given attribute as an angular velocity

Parameters:
Return type:

Vector

classmethod pose_state_attribute_name(pose_state, attribute_index) Name

Get if the given attribute name in the pose state

Parameters:
Return type:

Name

classmethod pose_state_attribute_num(pose_state) int32

Get if the number of attributes in the pose state

Parameters:

pose_state (AnimDatabasePoseState)

Return type:

int32

classmethod pose_state_attribute_string(pose_state, attribute_index) str

Gets a string representation of the given attribute in the pose state

Parameters:
Return type:

str

classmethod pose_state_attribute_type(pose_state, attribute_index) AnimDatabaseAttributeType

Get if the given attribute type in the pose state

Parameters:
Return type:

AnimDatabaseAttributeType

classmethod pose_state_bone_world_linear_velocity(pose_state, bone_index) Vector

Get the world linear velocity of a given bone in the pose state

Parameters:
Return type:

Vector

classmethod pose_state_bone_world_location(pose_state, bone_index) Vector

Get the world location of a given bone in the pose state

Parameters:
Return type:

Vector

classmethod pose_state_bone_world_rotation(pose_state, bone_index) Rotator

Get the world rotation of a given bone in the pose state

Parameters:
Return type:

Rotator

classmethod pose_state_bone_world_transform(pose_state, bone_index) Transform

Get the world transform of a given bone in the pose state

Parameters:
Return type:

Transform

classmethod pose_state_bool_attribute(pose_state, attribute_index) bool

Get the given attribute as a bool

Parameters:
Return type:

bool

classmethod pose_state_copy(out_pose_state, pose_state) AnimDatabasePoseState

Copy a PoseState

Parameters:
Returns:

out_pose_state (AnimDatabasePoseState):

Return type:

AnimDatabasePoseState

classmethod pose_state_direction_attribute(pose_state, attribute_index) Vector

Get the given attribute as a direction

Parameters:
Return type:

Vector

classmethod pose_state_event_attribute(pose_state, attribute_index) -> (out_time_until_event_known=bool, out_time_until_event=float)

Get the given attribute as an event

Parameters:
Returns:

out_time_until_event_known (bool):

out_time_until_event (float):

Return type:

tuple

classmethod pose_state_float_attribute(pose_state, attribute_index) float

Get the given attribute as a float

Parameters:
Return type:

float

classmethod pose_state_is_attribute_active(pose_state, attribute_index) bool

Get if the given attribute is active in the pose state

Parameters:
Return type:

bool

classmethod pose_state_linear_velocity_attribute(pose_state, attribute_index) Vector

Get the given attribute as a linear velocity

Parameters:
Return type:

Vector

classmethod pose_state_location_attribute(pose_state, attribute_index) Vector

Get the given attribute as a location

Parameters:
Return type:

Vector

classmethod pose_state_root_angular_velocity(pose_state) Vector

Get the root angular velocity of the pose state

Parameters:

pose_state (AnimDatabasePoseState)

Return type:

Vector

classmethod pose_state_root_direction(pose_state, forward_vector=[0.000000, 1.000000, 0.000000]) Vector

Get the root direction of the pose state

Parameters:
Return type:

Vector

classmethod pose_state_root_linear_velocity(pose_state) Vector

Get the root linear velocity of the pose state

Parameters:

pose_state (AnimDatabasePoseState)

Return type:

Vector

classmethod pose_state_root_location(pose_state) Vector

Get the root location of the pose state

Parameters:

pose_state (AnimDatabasePoseState)

Return type:

Vector

classmethod pose_state_root_location_and_rotation(pose_state) -> (out_root_location=Vector, out_root_rotation=Rotator)

Get the root location and rotation of the pose state

Parameters:

pose_state (AnimDatabasePoseState)

Returns:

out_root_location (Vector):

out_root_rotation (Rotator):

Return type:

tuple

classmethod pose_state_root_rotation(pose_state) Rotator

Get the root rotation of the pose state

Parameters:

pose_state (AnimDatabasePoseState)

Return type:

Rotator

classmethod pose_state_root_scalar_velocity(pose_state) Vector

Get the root scalar velocity of the pose state

Parameters:

pose_state (AnimDatabasePoseState)

Return type:

Vector

classmethod pose_state_root_scale3d(pose_state) Vector

Get the root scale of the pose state

Parameters:

pose_state (AnimDatabasePoseState)

Return type:

Vector

classmethod pose_state_root_transform(pose_state) Transform

Get the root transform of the pose state

Parameters:

pose_state (AnimDatabasePoseState)

Return type:

Transform

classmethod pose_state_rotation_attribute(pose_state, attribute_index) Rotator

Get the given attribute as a rotation

Parameters:
Return type:

Rotator

classmethod pose_state_scalar_velocity_attribute(pose_state, attribute_index) Vector

Get the given attribute as a scalar velocity

Parameters:
Return type:

Vector

classmethod pose_state_scale_attribute(pose_state, attribute_index) Vector

Get the given attribute as a scale

Parameters:
Return type:

Vector

classmethod pose_state_transform_attribute(pose_state, attribute_index) Transform

Get the given attribute as a transform

Parameters:
Return type:

Transform