paya.runtime.networks.CurveUpVectorIkSplineStyleSampler#
- class CurveUpVectorIkSplineStyleSampler(*args, **kwargs)#
Inheritance
CurveUpVectorRemapSampler
CurveUpVectorSampler
System
Network
Network
DependNode
DependNode
PyNode
ProxyUnicode
Works similarly to IK spline handle twist, but supports multiple twist points.
Note
Returned vectors won’t be perpendicular to curve tangents, with the expectation that they will be perpendicularized during subsequent matrix construction.
- classmethod create(curve, paramVectorKeys, interpolation='Linear')#
- Parameters
curve (str,
paya.runtime.nodes.NurbsCurve
,paya.runtime.nodes.Transform
,paya.runtime.plugs.NurbsCurve
) – the curve on which to create the samplerparamVectorKeys ([[
float
|str
|Math1D
], [tuple
|list
,paya.runtime.data.Vector
,paya.runtime.plugs.Vector
]]) – zipped parameter, vector pairs, indicating known up vectors along the curve; at least two such keys are neededinterpolation/i (int, str,
Math1D
) –a string label or integer value or plug specifying how to interpolate between the keyed pairs, namely:
0
('None'
) (you wouldn’t normally want this)1
('Linear'
) (the default)2
('Smooth'
)3
('Spline'
)
- Returns
The network system.
- Return type