FVector4

Overview

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

FVector4 stores four floating‑point components (x, y, z, w) for representing positions, colors, or homogeneous coordinates.

This class declares 5 methods for FVector4 objects in Python programs. Available methods include: __eq__, __getitem__, __init__, __repr__, __setitem__. 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__(x, y, z, w)Calls init(x, y, z, w) on this FVector4 instance.
__getitem__(key: int) → floatCalls getitem(key) on this FVector4 instance.
__setitem__(key: int, value: float)Calls setitem(key, value) on this FVector4 instance.
__repr__() → strCalls repr on this FVector4 instance.
__eq__(other) → boolCalls eq(other) on this FVector4 instance.

See Also

 English