Bagikan melalui


Vector3 Constructor (Single)

Creates a new instance of Vector3.

Syntax

'Declaration
Public Sub New ( _
         value As Single _
)
public Vector3 (
         float value
)
public:
Vector3(
         float value
)

Parameters

  • value
    Type: Single
    Value to initialize each component to.

Requirements

Namespace: Microsoft.Xna.Framework

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

See Also

Reference

Vector3 Structure
Vector3 Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone