Function CreatePickingRayInCameraSpace
-
Parameters
- scene: Scene
defines the scene to use for the picking
- x: number
defines the x coordinate of the origin (on-screen)
- y: number
defines the y coordinate of the origin (on-screen)
Optionalcamera: anydefines the camera to use for the picking
Returns Ray
a Ray
- scene: Scene
Creates a ray that can be used to pick in the scene