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
| Name | Type | Access | Description |
|---|---|---|---|
x | float | Read | Gets the x. |
y | float | Read | Gets the y. |
z | float | Read | Gets the z. |
w | float | Read | Gets the w. |
Methods
| Signature | Description |
|---|---|
__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 |