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

NameTypeAccessDescription
xfloatReadHolds the vector’s first (X) component as a float
yfloatReadHolds the vector’s second (Y) component as a float
zfloatReadHolds the vector’s third (Z) component as a float
wfloatReadHolds the vector’s fourth (W) component as a float

Methods

SignatureDescription
__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