Ray.Deconstruct Method (Microsoft.Xna.Framework)

Deconstruction method for Ray.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • 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