Ray2D.GetPoint

Declaration

public Vector2 GetPoint(float distance);

Parameters

distance Distance of the desired point along the path of the ray.

Description

Get a point that lies a given distance along a ray.

The distance is measured away from the ray's origin along its direction.

Additional resources: origin, direction.


Did you find this page useful? Please give it a rating: