Share via


Vector4 Constructor

Initializes a new instance of the Vector4 structure.

Namespace: Microsoft.WindowsMobile.DirectX
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)

Syntax

'Declaration
Public Sub New ( _
    valueX As Single, _
    valueY As Single, _
    valueZ As Single, _
    valueW As Single _
)
'Usage
Dim valueX As Single
Dim valueY As Single
Dim valueZ As Single
Dim valueW As Single

Dim instance As New Vector4(valueX, valueY, valueZ, valueW)
public Vector4 (
    float valueX,
    float valueY,
    float valueZ,
    float valueW
)
public:
Vector4 (
    float valueX, 
    float valueY, 
    float valueZ, 
    float valueW
)
public Vector4 (
    float valueX, 
    float valueY, 
    float valueZ, 
    float valueW
)
public function Vector4 (
    valueX : float, 
    valueY : float, 
    valueZ : float, 
    valueW : float
)

Parameters

  • valueX
    Initial X field value.
  • valueY
    Initial Y field value.
  • valueZ
    Initial Z field value.
  • valueW
    Initial W field value.

.NET Framework Security

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

Vector4 Structure
Vector4 Members
Microsoft.WindowsMobile.DirectX Namespace