Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Ray.GetPoint

GetPoint(distance: float): Vector3;

Description

Returns a point at distance units along the ray.

	var r : Ray;
	print( r.GetPoint (10) ); // a point 10 units along the ray