unreal.Vector2f

class unreal.Vector2f(x: float = 0.0, y: float = 0.0)

Bases: StructBase

A vector in 2-D space composed of components (X, Y) with floating point precision. note: The full C++ class is located here: EngineSourceRuntimeCorePublicMathVector2D.h

C++ Source:

  • Module: CoreUObject

  • File: NoExportTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • x (float): [Read-Write]

  • y (float): [Read-Write]

property x: float

[Read-Write]

Type:

(float)

property y: float

[Read-Write]

Type:

(float)