共用方式為


Rg32 Constructor (Single, Single)

Initializes a new instance of the Rg32 structure.

Syntax

'Declaration
Public Sub New ( _
         x As Single, _
         y As Single _
)
public Rg32 (
         float x,
         float y
)
public:
Rg32(
         float x,
         float y
)

Parameters

  • x
    Type: Single
    Initial value for the x component.
  • y
    Type: Single
    Initial value for the y component.

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