paya.runtime.parts.Transform#
- class Transform(groupNode)#
Inheritance
Part
PartBase
Trunk
Simple single-transform rig part with a joint and control(s).
- classmethod create(worldMatrix=None, keyable=None, channelBox=None, rotateOrder='xyz', numControls=2, createJoint=True)#
- Parameters
worldMatrix/wm (
Matrix
,list
,tuple
) – the initial world matrix; defaults to the identity matrixkeyable/k (
list
[str
]) – list of keyable attributes for the control; defaults toNone
channelBox/cb (
list
[str
]) – list of settable attributes for the control; defaults toNone
rotateOrder/ro (
int
,str
) – the control’s rotate order on creation; defaults to'xyz'
numControls/nc (int) – the number of (stacked, including insets) controls to generate; defaults to 2
createJoint/cj (bool) – create and drive a joint; defaults to
True