Click or drag to resize
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
C#
public Ray GetRay(
	Vector3 position
)

Parameters

position
Type: Vector3
Position to get ray to.

Return Value

Type: Ray
Ray from camera to given position.
See Also