unreal.AnimSequenceBase

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

Bases: unreal.AnimationAsset

Anim Sequence Base

C++ Source:

  • Module: Engine

  • File: AnimSequenceBase.h

Editor Properties: (see get_editor_property/set_editor_property)

  • asset_mapping_table (AssetMappingTable): [Read-Only] Asset Mapping Table: Asset mapping table when ParentAsset is set

  • asset_user_data (Array(AssetUserData)): [Read-Write] Asset User Data: Array of user data stored with the asset

  • controller (AnimationDataController): [Read-Only] Controller: UAnimDataController instance set to operate on DataModel

  • data_model (AnimDataModel): [Read-Only] Data Model: UAnimDataModel instance containing source animation data

  • meta_data (Array(AnimMetaData)): [Read-Write] Meta Data: Meta data that can be saved with the asset

    You can query by GetMetaData function

  • parent_asset (AnimationAsset): [Read-Only] Parent Asset: Parent Asset, if set, you won’t be able to edit any data in here but just mapping table

    During cooking, this data will be used to bake out to normal asset

  • preview_pose_asset (PoseAsset): [Read-Write] Preview Pose Asset: The default skeletal mesh to use when previewing this asset - this only applies when you open Persona using this asset// todo:: note that this doesn’t retarget right now

  • rate_scale (float): [Read-Write] Rate Scale: Number for tweaking playback rate of this animation globally.

  • sequence_length (float): [Read-Only] Sequence Length

  • skeleton (Skeleton): [Read-Only] Skeleton: Pointer to the Skeleton this asset can be played on .

  • thumbnail_info (ThumbnailInfo): [Read-Only] Thumbnail Info: Information for thumbnail rendering

add_transform_attribute(attribute_name, bone_name, keys, values) bool

Add Transform Attribute

Parameters
Return type

bool

property controller

[Read-Only] Controller: UAnimDataController instance set to operate on DataModel

Type

(AnimationDataController)

property data_model

[Read-Only] Data Model: UAnimDataModel instance containing source animation data

Type

(AnimDataModel)

get_anim_pose_at_frame(frame_index, evaluation_options) AnimPose

Evaluates an Animation Sequence Base to generate a valid Anim Pose instance

Parameters
  • frame_index (int32) – Exact frame at which the pose should be evaluated

  • evaluation_options (AnimPoseEvaluationOptions) – Options determining the way the pose should be evaluated

Returns

pose (AnimPose): Anim Pose to hold the evaluated data

Return type

AnimPose

get_anim_pose_at_time(time, evaluation_options) AnimPose

Evaluates an Animation Sequence Base to generate a valid Anim Pose instance

Parameters
  • time (float) – Time at which the pose should be evaluated

  • evaluation_options (AnimPoseEvaluationOptions) – Options determining the way the pose should be evaluated

Returns

pose (AnimPose): Anim Pose to hold the evaluated data

Return type

AnimPose

property sequence_length

[Read-Only] Sequence Length

Type

(float)