Ray

A world-space ray: a starting point and a normalized direction.

Public Methods

GetPoint

public Vector3 GetPoint(float distance)

Returns the point at distance along the ray.

Parameters:

  • distance (float): Distance from Origin, along Direction.

Returns: Vector3