unreal.AnimDatabasePoseStateLibrary¶
- class unreal.AnimDatabasePoseStateLibrary(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
BlueprintFunctionLibraryThis 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:
- classmethod pose_state_angle_attribute_degrees(pose_state, attribute_index) float¶
Get the given attribute as a angle in degrees
- Parameters:
pose_state (AnimDatabasePoseState)
attribute_index (int32)
- Return type:
- classmethod pose_state_angle_attribute_radians(pose_state, attribute_index) float¶
Get the given attribute as a angle in radians
- Parameters:
pose_state (AnimDatabasePoseState)
attribute_index (int32)
- Return type:
- classmethod pose_state_angular_velocity_attribute(pose_state, attribute_index) Vector¶
Get the given attribute as an angular velocity
- Parameters:
pose_state (AnimDatabasePoseState)
attribute_index (int32)
- Return type:
- classmethod pose_state_attribute_name(pose_state, attribute_index) Name¶
Get if the given attribute name in the pose state
- Parameters:
pose_state (AnimDatabasePoseState)
attribute_index (int32)
- Return type:
- 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:
pose_state (AnimDatabasePoseState)
attribute_index (int32)
- Return type:
- classmethod pose_state_attribute_type(pose_state, attribute_index) AnimDatabaseAttributeType¶
Get if the given attribute type in the pose state
- Parameters:
pose_state (AnimDatabasePoseState)
attribute_index (int32)
- Return type:
- 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:
pose_state (AnimDatabasePoseState)
bone_index (int32)
- Return type:
- classmethod pose_state_bone_world_location(pose_state, bone_index) Vector¶
Get the world location of a given bone in the pose state
- Parameters:
pose_state (AnimDatabasePoseState)
bone_index (int32)
- Return type:
- classmethod pose_state_bone_world_rotation(pose_state, bone_index) Rotator¶
Get the world rotation of a given bone in the pose state
- Parameters:
pose_state (AnimDatabasePoseState)
bone_index (int32)
- Return type:
- classmethod pose_state_bone_world_transform(pose_state, bone_index) Transform¶
Get the world transform of a given bone in the pose state
- Parameters:
pose_state (AnimDatabasePoseState)
bone_index (int32)
- Return type:
- classmethod pose_state_bool_attribute(pose_state, attribute_index) bool¶
Get the given attribute as a bool
- Parameters:
pose_state (AnimDatabasePoseState)
attribute_index (int32)
- Return type:
- classmethod pose_state_copy(out_pose_state, pose_state) AnimDatabasePoseState¶
Copy a PoseState
- Parameters:
out_pose_state (AnimDatabasePoseState)
pose_state (AnimDatabasePoseState)
- Returns:
out_pose_state (AnimDatabasePoseState):
- Return type:
- classmethod pose_state_direction_attribute(pose_state, attribute_index) Vector¶
Get the given attribute as a direction
- Parameters:
pose_state (AnimDatabasePoseState)
attribute_index (int32)
- Return type:
- 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:
pose_state (AnimDatabasePoseState)
attribute_index (int32)
- 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:
pose_state (AnimDatabasePoseState)
attribute_index (int32)
- Return type:
- classmethod pose_state_is_attribute_active(pose_state, attribute_index) bool¶
Get if the given attribute is active in the pose state
- Parameters:
pose_state (AnimDatabasePoseState)
attribute_index (int32)
- Return type:
- classmethod pose_state_linear_velocity_attribute(pose_state, attribute_index) Vector¶
Get the given attribute as a linear velocity
- Parameters:
pose_state (AnimDatabasePoseState)
attribute_index (int32)
- Return type:
- classmethod pose_state_location_attribute(pose_state, attribute_index) Vector¶
Get the given attribute as a location
- Parameters:
pose_state (AnimDatabasePoseState)
attribute_index (int32)
- Return type:
- classmethod pose_state_root_angular_velocity(pose_state) Vector¶
Get the root angular velocity of the pose state
- Parameters:
pose_state (AnimDatabasePoseState)
- Return type:
- 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:
pose_state (AnimDatabasePoseState)
forward_vector (Vector)
- Return type:
- classmethod pose_state_root_linear_velocity(pose_state) Vector¶
Get the root linear velocity of the pose state
- Parameters:
pose_state (AnimDatabasePoseState)
- Return type:
- classmethod pose_state_root_location(pose_state) Vector¶
Get the root location of the pose state
- Parameters:
pose_state (AnimDatabasePoseState)
- Return type:
- 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:
- classmethod pose_state_root_scalar_velocity(pose_state) Vector¶
Get the root scalar velocity of the pose state
- Parameters:
pose_state (AnimDatabasePoseState)
- Return type:
- classmethod pose_state_root_scale3d(pose_state) Vector¶
Get the root scale of the pose state
- Parameters:
pose_state (AnimDatabasePoseState)
- Return type:
- classmethod pose_state_root_transform(pose_state) Transform¶
Get the root transform of the pose state
- Parameters:
pose_state (AnimDatabasePoseState)
- Return type:
- classmethod pose_state_rotation_attribute(pose_state, attribute_index) Rotator¶
Get the given attribute as a rotation
- Parameters:
pose_state (AnimDatabasePoseState)
attribute_index (int32)
- Return type:
- classmethod pose_state_scalar_velocity_attribute(pose_state, attribute_index) Vector¶
Get the given attribute as a scalar velocity
- Parameters:
pose_state (AnimDatabasePoseState)
attribute_index (int32)
- Return type:
- classmethod pose_state_scale_attribute(pose_state, attribute_index) Vector¶
Get the given attribute as a scale
- Parameters:
pose_state (AnimDatabasePoseState)
attribute_index (int32)
- Return type:
- classmethod pose_state_transform_attribute(pose_state, attribute_index) Transform¶
Get the given attribute as a transform
- Parameters:
pose_state (AnimDatabasePoseState)
attribute_index (int32)
- Return type: