FVector2

Overview

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

FVector2.normalize returns a new FVector2 with the same direction and unit length.

Properties

NameTypeAccessDescription
xfloatReadStores the horizontal component of the vector as a float
yfloatReadStores the vertical component of the vector as a float
_x``Read
_y``Read

Methods

SignatureDescription
__init__(x, y)
length()float
normalize()'FVector2'Returns a new FVector2 with the same direction and unit length
dot(other: 'FVector2')floatComputes the scalar dot product with another FVector2
parse(input: str)Creates an FVector2 from a string representation of two numbers

See Also