MohoView:Point2Vec(where, layerM)
Version added: before 9.5
Arguments:
Name | Type | Description | Default | Ver |
where | Point | Pixel location on the screen | < 9.5 | |
layerM | Matrix | The transformation matrix for the layer in question | NULL | < 9.5 |
Return value:
Vector2 2D vector point in a layer's coordinate system
Converts a pixel location to a 2D vector location, given a specific transformation matrix. This is used to convert between mouse coordinates and 2D layer coordinates.
Search results
Usage of 'Point2Vec' is found in the following scripts:
Modified transform bone tool (Original Edition) by A.Evseeva
View Code
MR Transform Rig Tool (Original Edition) by eugenebabich
View Code
Set Origin (Original Edition) by Lukas
View Code
SS - Eraser+ (Original Edition) by simplsam
View Code