FVector3
Overview
FVector3 is a class in Aspose.3d for Python.
FVector3 offers 3‑D vector utilities including component accessors, predefined unit vectors, and normalization.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
x | float | Read | Is the float value of the vector’s X component |
y | float | Read | |
z | float | Read |
Methods
| Signature | Description |
|---|---|
__init__(x, y, z) | |
zero() → 'FVector3' | Returns a vector whose x, y, and z components are all 0 |
one() → 'FVector3' | |
unit_x() → 'FVector3' | Returns the unit vector (1, 0, 0) along the X axis |
unit_y() → 'FVector3' | Returns the unit vector (0, 1, 0) along the Y axis |
unit_z() → 'FVector3' | Returns the unit vector (0, 0, 1) along the Z axis |
normalize() → 'FVector3' | Returns a vector with the same direction but a length of 1 |