Base Types#
This is a list of commonly used fundamental types found in configuration files.
ivec2#
A vector containing of 2 values that are both whole integer numbers.
xintegeryinteger
ivec3#
A vector containing of 3 values that are all whole integer numbers.
xintegeryintegerzinteger
ivec4#
A vector containing of 4 values that are all whole integer numbers.
xintegeryintegerzintegerwinteger
vec2#
A vector containing of 2 values that can both be fractional numbers.
xnumberynumber
vec3#
A vector containing of 3 values that can all be fractional numbers.
xnumberynumberznumber
vec4#
A vector containing of 4 values that can all be fractional numbers.
xnumberynumberznumberwnumber
color#
A vector containing of 4 values that can all be fractional numbers. Each number must be between 0 and 1.
xnumber between 0 and 1ynumber between 0 and 1znumber between 0 and 1wnumber between 0 and 1
orientation#
Defines an orientation of some sorts. There are two ways of specifying the orientation. The first option is by providing yaw, pitch, and roll and the second is to provide a Quaternion directly.
Yaw/Pitch/Roll#
yawnumberThe yaw of the orientation in a clockwise positive direction as viewed from the upper pole. This value is provided in degrees.
pitchnumberThe pitch of the orientation, which is measured from the equator with positive values towards the upper pole. This value is provided in degrees.
rollnumberThe roll of the orientation in a clockwise positive direction viewing straight ahead. This value is provided in degrees.
Quaternion#
xnumberynumberznumberwnumber
mat4#
This type is a 4x4 matrix that is used as a homogeneous transformation matrix. This type is an array that consists of extact 16 numbers.