unreal.IKRetargetBlendToSourceOpSettings

class unreal.IKRetargetBlendToSourceOpSettings(enabled: bool = False, lod_threshold: int = 0, chains: None = [], alpha: float = 0.0)

Bases: IKRetargetOpSettingsBase

Blend to Source Settings

C++ Source:

  • Plugin: IKRig

  • Module: IKRig

  • File: BlendToSourceOp.h

Editor Properties: (see get_editor_property/set_editor_property)

  • alpha (double): [Read-Write] Range 0 to 1. Default 1. Blends IK goal transform from retargeted transform (0) to source bone transform (1). At 0 the goal is placed at the input location and rotation. At 1 the goal is placed at the location and rotation of the source chain’s end bone.

  • chains (Array[IKRetargetBlendToSourceChainSettings]): [Read-Write]

  • debug_draw_size (double): [Read-Write] Adjust size of goal debug drawing in viewport

  • enabled (bool): [Read-Write] Enable/disable the entire operation. Disabled ops are skipped entirely and do not run at all.

  • lod_threshold (int32): [Read-Write] The maximum LOD that this Op is allowed to run at. For example if you have LODThreshold of 2, the Op will run until LOD 2 (based on 0 index). When the component LOD becomes 3, it will stop running. A value of -1 forces the Op to execute at all LOD levels. Default is -1.

property alpha: float

[Read-Write] Range 0 to 1. Default 1. Blends IK goal transform from retargeted transform (0) to source bone transform (1). At 0 the goal is placed at the input location and rotation. At 1 the goal is placed at the location and rotation of the source chain’s end bone.

Type:

(double)

property chains: None

[Read-Write]

Type:

(Array[IKRetargetBlendToSourceChainSettings])