Share via


Vector3 Constructor (Single)

Creates a new instance of Vector3.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public Vector3 (
         float value
)

Parameters

  • value
    Value to initialize each component to.

See Also

Reference

Vector3 Structure
Vector3 Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista