共用方式為


Rg32 Constructor (Vector2)

Initializes a new instance of the Rg32 structure.

Syntax

'Declaration
Public Sub New ( _
         vector As Vector2 _
)
public Rg32 (
         Vector2 vector
)
public:
Rg32(
         Vector2 vector
)

Parameters

  • vector
    Type: Vector2
    The vector containing the initial values for the components of the Rg32 structure.

Requirements

Namespace: Microsoft.Xna.Framework.Graphics.PackedVector

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

See Also

Reference

Rg32 Structure
Rg32 Members
Microsoft.Xna.Framework.Graphics.PackedVector Namespace

Platforms

Windows Phone