FVector3
Overview
FVector3 is a class in Aspose.3D FOSS for Python.
FVector3.zero returns a vector with all components set to 0.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
x | float | Read | |
y | float | Read | |
z | float | Read | Stores the Z component of the vector as a float |
_x | `` | Read | |
_y | `` | Read | |
_z | `` | Read |
Methods
| Signature | Description |
|---|---|
__init__(x, y, z) | |
zero() → 'FVector3' | Returns a vector with all components set to 0 |
one() → 'FVector3' | Returns a vector with all components set to 1 |
unit_x() → 'FVector3' | Returns a unit vector pointing along the X axis (1,0,0) |
unit_y() → 'FVector3' | |
unit_z() → 'FVector3' | |
normalize() → 'FVector3' | Returns a vector with the same direction but length of 1 |