Namespace: PP;
Projection
The Projection class is used to work with a 3D projection.
PP.initClass(PP.Projection, PP.Object, "PP.Projection");
Constructor name | Brief description | |
Projection | The Projection constructor creates an instance of the Projection class. |
Method name | Brief description | |
getFrustum | The getFrustum method is used to get partial pyramid in world coordinates from a rectangle in screen coordinates. | |
getRay | The getRay method returns a ray that comes out from the specified point. | |
ortho | The ortho method sets orthographic projection. | |
perspective | The perspective method sets perspective projection. | |
project | The project method transforms world coordinates of vector to screen ones. | |
rotate | The rotate method rotates a coordinate system. | |
scale | The scale method scales a coordinate system. | |
setModelMatrix | The setModelMatrix method sets model and view matrix. | |
translate | The translate method offsets a coordinate system. | |
unProject | The unProject method transforms screen coordinates of vector to world ones. |
Property name | Brief description | |
Data | The Data property associates a random object with this component. | |
Id | The Id property sets component identifier. | |
Settings | The Settings property sets the component parameters. |
Method name | Brief description | |
clone | The clone method creates a copy of object. It is not implemented in PP.Ui.Control. | |
dispose | The dispose method deletes the component. | |
getTypeName | The getTypeName method returns the name of the object type without the namespace, to which it belongs. |
See also: