unreal.ContextualAnimSet

class unreal.ContextualAnimSet

Bases: StructBase

Contains AnimTracks for each role in the interaction. Example: An specific set for a interaction with a car would have two tracks, one with the animation for the character and another one with the animation for the car. It is common to have variations of the same action with different animations. We could have one AnimSet with the animations for getting into the car from the driver side and another for getting into the car from the passenger side.

C++ Source:

  • Plugin: ContextualAnimation

  • Module: ContextualAnimation

  • File: ContextualAnimSceneAsset.h

Editor Properties: (see get_editor_property/set_editor_property)

  • random_weight (float): [Read-Write] Used by the selection mechanism to ‘break the tie’ when multiple Sets can be selected

  • tracks (Array[ContextualAnimTrack]): [Read-Write] List of tracks with animation (and relevant data specific to that animation) for each role

  • warp_points (Map[Name, Transform]): [Read-Write] Map of WarpTargetNames and Transforms for this set. Generated off line based on warp points defined in the asset