Vector.Zaxis

classmethod Vector.Zaxis()

Construct a unit vector along the Z axis.

Returns

Vector – A vector with components x = 0.0, y = 0.0, z = 1.0.

Examples

>>> Vector.Zaxis()
Vector(0.000, 0.000, 1.000)