MohoLayer:GetLayerTransform(frame, matrix, doc)
Version added: before 9.5
Arguments:
Name | Type | Description | Default | Ver |
frame | int | Frame number | < 9.5 | |
matrix | Matrix | Transform matrix to fill in | < 9.5 | |
doc | MohoDoc | The document object | < 9.5 |
Return value:
void none
Gets the layer's transformation at a given frame. The layer transform includes things like layer scale, rotation, and translation.
For layers with no parent it also includes some information about camera transform, course the resulting matrix is the layer transformation premultiplied with the camera matrix (MohoDoc:GetCameraMatrix)
For layers with no parent it also includes some information about camera transform, course the resulting matrix is the layer transformation premultiplied with the camera matrix (MohoDoc:GetCameraMatrix)
Search results
Usage of 'GetLayerTransform' is found in the following scripts:
Reset layer transform (Original Edition) by A.Evseeva
View Code
Invert layer transform (Original Edition) by A.Evseeva
View Code
Bind points modification (Original Edition) by A.Evseeva
View Code
FO_Utilities (Original Edition) by Lukas
View Code
MR Transform Rig Tool (Original Edition) by eugenebabich
View Code