Bagikan melalui


Short4 Constructor (Vector4)

Initializes a new instance of the Short4 structure.

Syntax

'Declaration
Public Sub New ( _
         vector As Vector4 _
)
public Short4 (
         Vector4 vector
)
public:
Short4(
         Vector4 vector
)

Parameters

  • vector
    Type: Vector4
    A vector containing the initial values for the components of the Short4 structure.

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