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