Export (0) Print
Expand All

Short2 Constructor (Single, Single)

Initializes a new instance of the Short2 structure.

Namespace:  Microsoft.Xna.Framework.Graphics.PackedVector
Assembly:  Microsoft.Xna.Framework.Math (in Microsoft.Xna.Framework.Math.dll)

public Short2(
	float x,
	float y
)

Parameters

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

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft