FVector3

Overview

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

FVector3.zero returns a vector with all components set to 0.

This class provides 7 methods for working with FVector3 objects in Python programs. Available methods include: __init__, normalize, one, unit_x, unit_y, unit_z, zero. All public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package. Properties: x, y, z.

Properties

NameTypeAccessDescription
xfloatRead/WriteGets or sets the x.
yfloatRead/WriteGets or sets the y.
zfloatRead/WriteGets or sets the z.

Methods

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

See Also