unreal.RetargetStretchChainSettings

class unreal.RetargetStretchChainSettings(target_chain_name: Name = 'None', enabled: bool = False, match_source_length: float = 0.0, scale_chain_length: float = 0.0)

Bases: StructBase

Retarget Stretch Chain Settings

C++ Source:

  • Plugin: IKRig

  • Module: IKRig

  • File: StretchChainOp.h

Editor Properties: (see get_editor_property/set_editor_property)

  • enabled (bool): [Read-Write] Enable/disable stretching.

  • match_source_length (double): [Read-Write] Range 0 to 1. Default 0. Matches the total length of this chain with the mapped source chain. At 0, the chain’s length will be left alone At 1, the chain will be stretched to match the length of the source.

  • scale_chain_length (double): [Read-Write] Range 0 to inf. Default 1. A multiplier on the length of the chain, applied after matching the source length.

  • target_chain_name (Name): [Read-Write] The name of the target chain to stretch.

property enabled: bool

[Read-Write] Enable/disable stretching.

Type:

(bool)

property match_source_length: float

[Read-Write] Range 0 to 1. Default 0. Matches the total length of this chain with the mapped source chain. At 0, the chain’s length will be left alone At 1, the chain will be stretched to match the length of the source.

Type:

(double)

property scale_chain_length: float

[Read-Write] Range 0 to inf. Default 1. A multiplier on the length of the chain, applied after matching the source length.

Type:

(double)

property target_chain_name: Name

[Read-Write] The name of the target chain to stretch.

Type:

(Name)