DAZ Script | |
---|---|
Point | cursorPos () |
This is the script counterpart to the QPoint type used in the C++ SDK. A Point object is a two dimensional representation of a x (horizontal) and y (vertical) position.
Attention:
Holds the point's x position.
Example:
var pntTemp = new Point( 10, 20 ); print( oPoint.x ); //10
Holds the point's y position.
Example:
var pntTemp = new Point( 10, 20 ); print( oPoint.y ); //20
Point : cursorPos()
Return Value:
Example:
var pntCursor = (new Point).cursorPos();
Since:
Point()
Default constructor.
Example:
var pntTemp = new Point();
Point( Point pnt )
Parameter(s):
Example:
var pntTemp1 = new Point( 10, 20 ); var pntTemp2 = new Point( oPoint );
Parameter(s):
Example:
var pntTemp = new Point( 10, 20 );