Ray.Ray Method (Microsoft.Xna.Framework)
- 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
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web