Share via


Short4 Constructor (Single, Single, Single, Single)

Initializes a new instance of the Short4 class.

Syntax

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

Parameters

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

Requirements

Namespace: Microsoft.Xna.Framework.Graphics.PackedVector

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

See Also

Reference

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

Platforms

Windows Phone