Udostępnij za pośrednictwem


Vector4 Struct

Definition

Describes a vector of four floating-point components.

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

public value class float4
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
struct float4
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public struct Vector4
var vector4 = {
x : /* Your value */,
y : /* Your value */,
z : /* Your value */,
w : /* Your value */
}
Public Structure Vector4
Inheritance
Vector4
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

W

The w component of the vector.

X

The x component of the vector.

Y

The y component of the vector.

Z

The z component of the vector.

Applies to

See also