struct Ray
in global
A struct describing an origin and direction
public Vector3 Position { get; set; }
Origin of the ray.
public Vector3 Forward { get; set; }
Direction of the ray.
public Ray ToLocal( ref Transform tx )
Convert a ray to be local to this transform
public Ray ToWorld( ref Transform tx )
Convert a ray from being local to this transform
public Vector3 Project( float distance )
Returns a point on the ray at given distance.
distanceHow far from the the point should be.- Returns The point at given distance.
public static bool op_Equality( Ray left, Ray right )
😔 No documentation found.
public static bool op_Inequality( Ray left, Ray right )
😔 No documentation found.
public bool Equals( object obj )
😔 No documentation found.
public bool Equals( Ray o )
😔 No documentation found.
public int GetHashCode( )
😔 No documentation found.
public string ToString( )
😔 No documentation found.
public Type GetType( )
😔 No documentation found.
public Ray( Vector3 origin, Vector3 direction )
😔 No documentation found.