Vector3 Vector3 Vector3 Vector3 Vector3 Struct

Definition

Describes a vector of three floating-point components.

public : struct Vector3
struct winrt::Windows::Foundation::Numerics::Vector3
public struct Vector3
Public Structure Vector3
var vector3 = {

   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

X X X X X

The x component of the vector.

float X;
float X;
float X;
X As float;
var float = vector3.x;
vector3.x = float;

Y Y Y Y Y

The y component of the vector.

float Y;
float Y;
float Y;
Y As float;
var float = vector3.y;
vector3.y = float;

Z Z Z Z Z

The z component of the vector.

float Z;
float Z;
float Z;
Z As float;
var float = vector3.z;
vector3.z = float;