Latest version:
Tramway SDK 0.0.9
Github
Quick links
Home
Get Started

Type


There are a couple of types, which the framework supports for values, signals and scripting API.

Main types


All of these types are supported by signals, scripting API and level editor.

Int

Same as Int32.

Float

Same as Float32.

Name

Alias for UID.

All types


Undefined

Not actually type. Used when a type is unknown.

Bool

Same as Int8.

String

Regular C flavored, null-terminated character array string.

Int8, Int16, Int32, Int64

Signed integers, which are 8-bit, 16-bit, 32-bit and 64-bit wide respectively.

UInt

Same as UInt32.

UInt8, UInt16, UInt32, UInt64

Unsigned integers, which are 8-bit, 16-bit, 32-bit and 64-bit wide respectively.

Float32, Float64

Floating point numbers, which are 32-bit and 64-bit wide respectively.

Vec2, Vec3, Vec4

Arrays consisting of 2, 3 and 4 elements of Float32 numbers respectively.

Quat

Same as Vec4, but with rotational semantics.