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
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
On This Page
Custom Types