Inheritance diagram for Point:
Properties | |
Number | x |
Number | y |
Constructors | |
Point (Point pnt) | |
Point (Number x, Number y) | |
Point () |
This is the DAZ Script counterpart of the QPoint type used in the DAZ Studio SDK.
Point::Point | ( | ) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
x | The x coordinate for the point | |
y | The y coordinate for the point |
var oPoint = new Point( 10, 20 );
Point::Point | ( | Point | pnt | ) |
The point's x position
var oPoint = new Point( 10, 20 ); var nPnt = oPoint.x; // nPnt == 10
The point's y position
var oPoint = new Point( 10, 20 ); var nPnt = oPoint.y; // nPnt == 20