Custom Types

Orbit does not use types like Vector3D or ImColor in the traditional sense. You cannot access a Vector3D element using the following code.

Lua
Copy

Orbit stores these types in arrays instead. Be sure to remember that tables start with an index of 1 in LUA, unlike other programming languages.

Lua
Copy
Vector2D
Vector3D
Color

The elements of a Vector2D type are ints.

Lua
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
On This Page
Custom Types