float2#

class gs_nyx.nyx_py_sdk.float2#

Bases: object

Two-component single-precision float vector (x, y).

Constructors

float2()

Construct a zero-initialized float2.

float2(x: float, y: float)

Construct a float2 from explicit components.

Attributes

x

X component.

y

Y component.