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 public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package. Properties: w, x, y, z.

Properties

NameTypeAccessDescription
xfloatRead/WriteGets or sets the x.
yfloatRead/WriteGets or sets the y.
zfloatRead/WriteGets or sets the z.
wfloatRead/WriteGets or sets 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

 English