unreal.RotationRetargetingInfo

class unreal.RotationRetargetingInfo

Bases: StructBase

The FRotationRetargetingInfo is used to provide all of the settings required to perform rotational retargeting on a single transform.

C++ Source:

  • Module: AnimGraphRuntime

  • File: CommonAnimationTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • clamp (bool): [Read-Write] Clamp: If set to true the value for the easing will be clamped between 0.0 and 1.0

  • custom_curve (RuntimeFloatCurve): [Read-Write] Custom Curve: Custom curve mapping to apply if bApplyCustomCurve is true

  • easing_type (EasingFuncType): [Read-Write] Easing Type: The easing to use - pick linear if you don’t want to apply any easing

  • easing_weight (float): [Read-Write] Easing Weight: The amount of easing to apply (value should be 0.0 to 1.0)

  • enabled (bool): [Read-Write] Enabled: Set to true this enables retargeting

  • flip_easing (bool): [Read-Write] Flip Easing: If set to true the interpolation value for the easing will be flipped (1.0 - Value)

  • rotation_component (RotationComponent): [Read-Write] Rotation Component: The rotation component to perform retargeting with

  • source (Transform): [Read-Write] Source: The source transform of the frame of reference. The rotation is made relative to this space

  • source_maximum (float): [Read-Write] Source Maximum: The maximum value of the source angle in degrees

  • source_minimum (float): [Read-Write] Source Minimum: The minimum value of the source angle in degrees

  • target (Transform): [Read-Write] Target: The target transform to project the rotation. In most cases this is the same as Source

  • target_maximum (float): [Read-Write] Target Maximum: The target value of the target angle in degrees (can be the same as SourceMaximum)

  • target_minimum (float): [Read-Write] Target Minimum: The minimum value of the target angle in degrees (can be the same as SourceMinimum)

  • twist_axis (Vector): [Read-Write] Twist Axis: In case the rotation component is SwingAngle or TwistAngle this vector is used as the twist axis

  • use_absolute_angle (bool): [Read-Write] Use Absolute Angle: If set to true the angle will be always positive, thus resulting in mirrored rotation both ways