unreal.RigUnit_DistributeRotationForItemArray

class unreal.RigUnit_DistributeRotationForItemArray(execute_context: ControlRigExecuteContext = [], items: None = [], rotations: None = [], rotation_ease_type: RigVMAnimEasingType = Ellipsis, weight: float = 0.0)

Bases: RigUnit_HighlevelBaseMutable

Distributes rotations provided across a array of items. Each rotation is expressed by a quaternion and a ratio, where the ratio is between 0.0 and 1.0 Note: This node adds rotation in local space of each item!

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_DistributeRotation.h

Editor Properties: (see get_editor_property/set_editor_property)

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

  • items (Array[RigElementKey]): [Read-Write] The items to use to distribute the rotation

  • rotation_ease_type (RigVMAnimEasingType): [Read-Only] The easing to use between to rotations.

  • rotations (Array[RigUnit_DistributeRotation_Rotation]): [Read-Write] The list of rotations to be applied

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

property items: None

[Read-Write] The items to use to distribute the rotation

Type:

(Array[RigElementKey])

property rotation_ease_type: RigVMAnimEasingType

[Read-Only] The easing to use between to rotations.

Type:

(RigVMAnimEasingType)

property rotations: None

[Read-Write] The list of rotations to be applied

Type:

(Array[RigUnit_DistributeRotation_Rotation])

property weight: float

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

Type:

(float)