Vector4

Overview

Vector4 is a class in Aspose.3D FOSS for Python.

Vector4.set assigns new component values to the vector’s x, y, z, and w fields.

This class provides 2 methods for working with Vector4 objects in Python programs. Available methods include: __init__, set. All exported members are accessible to any Python application after installing the Aspose.3D FOSS for Python package. Properties: w, x, y, z.

Properties

NameTypeAccessDescription
xfloatReadGets the x.
yfloatReadGets the y.
zfloatReadGets the z.
wfloatReadGets the w.

Methods

SignatureDescription
__init__()
set(new_x: float, new_y: float, new_z: float, new_w: float)Assigns new component values to the vector’s x, y, z, and w fields

See Also