unreal.IKRetargetBlendToSourceChainSettings¶
- class unreal.IKRetargetBlendToSourceChainSettings(target_chain_name: Name = 'None', blend_to_source: float = 0.0, translation_alpha: float = 0.0, rotation_alpha: float = 0.0, translation_per_axis_alpha: Vector = Ellipsis, apply_pelvis_offset: float = 0.0)¶
Bases:
StructBaseIKRetarget Blend to Source Chain Settings
C++ Source:
Plugin: IKRig
Module: IKRig
File: BlendToSourceOp.h
Editor Properties: (see get_editor_property/set_editor_property)
apply_pelvis_offset(double): [Read-Write] Range 0 to 1. Default 0. At 1, the source goal locations are fully affected by any offsets applied to the pelvis from a Pelvis Motion Op. NOTE: If no Pelvis Motion Op is present, or if the “Affect IK” weights in the Pelvis Motion Op are zero, then this setting has no effect.blend_to_source(double): [Read-Write] Range 0 to 1. Default 0. Blend the goal on this chain to the location of the equivalent goal on the source chain.rotation_alpha(double): [Read-Write] Range 0 to 1. Default 0. Blends the rotational component of BlendToSource on/off. At 0 the goal is oriented to the input rotation. At 1 the goal is oriented to the source chain’s end bone rotation.target_chain_name(Name): [Read-Write] The name of the TARGET chain to blend to source on.translation_alpha(double): [Read-Write] Range 0 to 1. Default 1. Blends the translational component of BlendToSource on/off. At 0 the goal is placed at the input location. At 1 the goal is placed at the location of the source chain’s end bone.translation_per_axis_alpha(Vector): [Read-Write] Range 0 to 1. Default 1. Weight each axis separately when using Blend To Source. At 0 the goal is placed at the input location. At 1 the goal is placed at the location of the source chain’s end bone.
- property apply_pelvis_offset: float¶
[Read-Write] Range 0 to 1. Default 0. At 1, the source goal locations are fully affected by any offsets applied to the pelvis from a Pelvis Motion Op. NOTE: If no Pelvis Motion Op is present, or if the “Affect IK” weights in the Pelvis Motion Op are zero, then this setting has no effect.
- Type:
(double)
- property blend_to_source: float¶
[Read-Write] Range 0 to 1. Default 0. Blend the goal on this chain to the location of the equivalent goal on the source chain.
- Type:
(double)
- property rotation_alpha: float¶
[Read-Write] Range 0 to 1. Default 0. Blends the rotational component of BlendToSource on/off. At 0 the goal is oriented to the input rotation. At 1 the goal is oriented to the source chain’s end bone rotation.
- Type:
(double)
- property target_chain_name: Name¶
[Read-Write] The name of the TARGET chain to blend to source on.
- Type:
(Name)