Vector4 Vector4 Vector4 Vector4 Vector4 Struct

Definition

Describes a vector of four floating-point components.

In C++, Vector4 is projected as the float4 structure.

public : struct Vector4
struct winrt::Windows::Foundation::Numerics::Vector4
public struct Vector4
Public Structure Vector4
var vector4 = {

   w: /* Your value */,

   x: /* Your value */,

   y: /* Your value */,

   z: /* Your value */

}
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

W W W W W

The w component of the vector.

X X X X X

The x component of the vector.

Y Y Y Y Y

The y component of the vector.

Z Z Z Z Z

The z component of the vector.

See also