unreal.RigUnit_TwistBonesPerItem

class unreal.RigUnit_TwistBonesPerItem(execute_context: ControlRigExecuteContext = [], items: RigElementKeyCollection = Ellipsis, twist_axis: Vector = Ellipsis, pole_axis: Vector = Ellipsis, twist_ease_type: ControlRigAnimEasingType = Ellipsis, weight: float = 0.0, propagate_to_children: bool = False)

Bases: RigUnit_HighlevelBaseMutable

Creates a gradient of twist rotation along a collection of items.

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_TwistBones.h

Editor Properties: (see get_editor_property/set_editor_property)

  • execute_context (ControlRigExecuteContext): [Read-Write] Execute Context: * This property is used to chain multiple mutable units together

  • items (RigElementKeyCollection): [Read-Write] Items: The items to twist

  • pole_axis (Vector): [Read-Only] Pole Axis: The axis to use for the pole vector for each bone

  • propagate_to_children (bool): [Read-Only] Propagate to Children: If set to true all of the global transforms of the children of this bone will be recalculated based on their local transforms. Note: This is computationally more expensive than turning it off.

  • twist_axis (Vector): [Read-Only] Twist Axis: The axis to twist the bones around

  • twist_ease_type (ControlRigAnimEasingType): [Read-Only] Twist Ease Type: The easing to use between two twists.

  • weight (float): [Read-Write] Weight: The weight of the solver - how much the rotation should be applied

property items: RigElementKeyCollection

[Read-Write] Items: The items to twist

Type:

(RigElementKeyCollection)

property pole_axis: Vector

[Read-Only] Pole Axis: The axis to use for the pole vector for each bone

Type:

(Vector)

property propagate_to_children: bool

[Read-Only] Propagate to Children: If set to true all of the global transforms of the children of this bone will be recalculated based on their local transforms. Note: This is computationally more expensive than turning it off.

Type:

(bool)

property twist_axis: Vector

[Read-Only] Twist Axis: The axis to twist the bones around

Type:

(Vector)

property twist_ease_type: ControlRigAnimEasingType

[Read-Only] Twist Ease Type: The easing to use between two twists.

Type:

(ControlRigAnimEasingType)

property weight: float

[Read-Write] Weight: The weight of the solver - how much the rotation should be applied

Type:

(float)