unreal.RigUnit_DistributeRotationForCollection
¶
- class unreal.RigUnit_DistributeRotationForCollection(execute_context: ControlRigExecuteContext = [], items: RigElementKeyCollection = Ellipsis, rotations: Array[RigUnit_DistributeRotation_Rotation] = [], rotation_ease_type: ControlRigAnimEasingType = Ellipsis, weight: float = 0.0)¶
Bases:
RigUnit_HighlevelBaseMutable
Distributes rotations provided across a collection 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] Execute Context: * This property is used to chain multiple mutable units togetheritems
(RigElementKeyCollection): [Read-Write] Items: The items to use to distribute the rotationrotation_ease_type
(ControlRigAnimEasingType): [Read-Only] Rotation Ease Type: The easing to use between to rotations.rotations
(Array[RigUnit_DistributeRotation_Rotation]): [Read-Write] Rotations: The list of rotations to be appliedweight
(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 use to distribute the rotation
- Type:
- property rotation_ease_type: ControlRigAnimEasingType¶
[Read-Only] Rotation Ease Type: The easing to use between to rotations.
- Type:
- property rotations: Array[RigUnit_DistributeRotation_Rotation]¶
[Read-Write] Rotations: The list of rotations to be applied
- Type: