Main   Class List   Namespace List   Wiki

Types

TorqueScript has four different kinds of types:

Atomic Types

Atomic types are the building block types of TorqueScript. All literals have atomic types.

The following atomic types are defined:

bool
A boolean value. true or false.
int
A signed integer value between -2147483648 and 2147483647.
float
A single-precision floating-point value.
string
A string of UTF-8 encoded Unicode characters.

Compound Types

A compound type is a type with structured values that are composed of individual values of atomic types.

The following compound types are defined:

ColorI
A RGBA color value in 8bit precision integer values. Each color component ranges from 0-255.
ColorF
A RGBA color value in single-precision floating-point values. Each color component ranges from 0-1.
Point3F/VectorF
MatrixF

Enumeration Types

Bitfield Types

Object Types



Copyright © GarageGames, LLC. All Rights Reserved.