Vector3 interface

A representation of a point in a 3D space

Signature:

export interface Vector3 

Properties

PropertyModifiersTypeDescription
xreadonlynumberThe position along the x-axis in pixels
yreadonlynumberThe position along the y-axis in pixels
zreadonlynumberThe position along the z-axis in pixels

Vector3.x property

The position along the x-axis in pixels

Signature:

readonly x: number;

Vector3.y property

The position along the y-axis in pixels

Signature:

readonly y: number;

Vector3.z property

The position along the z-axis in pixels

Signature:

readonly z: number;