CameraGetRay Method (Vector3) |
Get the 3d ray that starts from camera position and directed at a given 3d position.
Namespace:
GeonBit.ECS.Components.Graphics
Assembly:
GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public Ray GetRay(
Vector3 position
)
Parameters
- position
- Type: Vector3
Position to get ray to.
Return Value
Type:
RayRay from camera to given position.
See Also