Vector3.Vector3 Method (Microsoft.Xna.Framework)

Constructs a 3d vector with X, Y and Z set to the same value.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public Vector3(
	float value
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

value
Type: System.Single
The x, y and z coordinates in 3d-space.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web