cameraGetRayToViewportPoint
Returns a ray that goes through the selected given X and Y coordinate of the viewport from the camera position.
Signatures
- Paramate.Viewport.cameraGetRayToViewportPoint( x, y )
Parameters
- x
-
The X position of the point on the viewport.
- y
-
The Y position of the point on the viewport.
Return value
The ray object consists of a 3d space point (the origin) and a direction vector: [[orgX, orgY, orgZ], [dirX, dirY, dirZ]]