Since | 17.0 |
void setpackedtransform(int input, int primnum, matrix transform)
Sets the transform of a packed primitive. This modifies the P
attribute of
the primitive’s point as well as its intrinsic transform
.
Examples
// matrix to transform by matrix tf = ident(); rotate(tf, radians(45), {0,1,0}); translate(tf, {0,1,0}); matrix transform = getpackedtransform(0, @primnum); setpackedtransform(0, @primnum, transform * tf);
See also | |
transform |