unreal.Vector_NetQuantize

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

Bases: Vector

FVector_NetQuantize

0 decimal place of precision. Up to 20 bits per component. Valid range: 2^20 = +/- 1,048,576

Note: this is the historical UE format for vector net serialization

C++ Source:

  • Module: Engine

  • File: NetSerialization.h

Editor Properties: (see get_editor_property/set_editor_property)

  • x (double): [Read-Write] X

  • y (double): [Read-Write] Y: Alias for float/double depending on LWC status. Note: Will be refactored to double before UE5 ships.

  • z (double): [Read-Write] Z

BACKWARD: Vector

3D vector Unreal backward direction constant (-1,0,0)

Type:

(Vector)

DOWN: Vector

3D vector Unreal down direction constant (0,0,-1)

Type:

(Vector)

FORWARD: Vector

3D vector Unreal forward direction constant (1,0,0)

Type:

(Vector)

LEFT: Vector

3D vector Unreal left direction constant (0,-1,0)

Type:

(Vector)

ONE: Vector

3D vector one constant (1,1,1)

Type:

(Vector)

RIGHT: Vector

3D vector Unreal right direction constant (0,1,0)

Type:

(Vector)

UP: Vector

3D vector Unreal up direction constant (0,0,1)

Type:

(Vector)

ZERO: Vector

3D vector zero constant (0,0,0)

Type:

(Vector)