Ray.Ray Method (Microsoft.Xna.Framework)


Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.398)
  • C#
  • VB
  • F#
public Ray(
	Vector3 position, 
	Vector3 direction
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

position
Type: Microsoft.Xna.Framework.Vector3
direction
Type: Microsoft.Xna.Framework.Vector3
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web