Vector4
Overview
Vector4 is a class in Aspose.3d for Python.
Vector4.set assigns new values to the x, y, z, and w components of the vector.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
x | float | Read | Holds the vector’s first (X) component as a float |
y | float | Read | Holds the vector’s second (Y) component as a float |
z | float | Read | Holds the vector’s third (Z) component as a float |
w | float | Read | Holds the vector’s fourth (W) component as a float |
Methods
| Signature | Description |
|---|---|
__init__() | |
set(new_x: float, new_y: float, new_z: float, new_w: float) | Assigns new values to the x, y, z, and w components of the vector |