Ray.Deconstruct Method (Microsoft.Xna.Framework)
Deconstruction method for Ray.
- C#
- VB
- F#
public void Deconstruct( out Vector3 position, out Vector3 direction )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- position
-
Type: out Microsoft.Xna.Framework.Vector3
Receives the start position of the ray.
- direction
-
Type: out Microsoft.Xna.Framework.Vector3
Receives the direction of the ray.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web