Vector3.Vector3 Method (Microsoft.Xna.Framework)

Constructs a 3d vector with X, Y and Z from three values.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.341)
  • C#
  • VB
  • F#
public Vector3(
	float x, 
	float y, 
	float z
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

x
Type: System.Single
The x coordinate in 3d-space.
y
Type: System.Single
The y coordinate in 3d-space.
z
Type: System.Single
The z coordinate in 3d-space.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web