onyx.class_types

class onyx.class_types.Vector3(prefix, x, y, z)

Vector3 - Represents a group of 3 numbers

Parameters
  • prefix (str) – A string that is inserted before every value

  • x (int) – First value

  • y (int) – Second value

  • z (int) – Third value

build()
Returns

The Vector3 as a string

Return type

str

class onyx.class_types.Vector2(prefix, x, y)

Vector3 - Represents a group of 2 numbers

Parameters
  • prefix (str) – A string that is inserted before every value

  • x (int) – First value

  • y (int) – Second value

build()
Returns

The Vector2 as a string

Return type

str