Serialization

Serialization is the process of saving an object onto a storage medium (such as a file, or a memory buffer) or to transmit it across a network connection link such as a socket either as a series of bytes or in some human-readable format such as XML. The series of...

Vector

A vector is 3 float values used together as a single item–usually representing a direction or magnitude. In LSL and OSSL, vector literals are formatted as <x,y,z>. A vector can be used to represent a 3-dimensional position, direction, velocity, force,...

NaN

NaN stands for Not a Number. NaNs are used to represent the results of operations that are not real numbers or are too big to fit into a float and therefore cannot be adequately represented with a float. In SL, generating a NaN (by 1.0/0.0) will crash the script. //...

Float

Float A float is an IEEE-754 32-bit floating point value ranging from ±1.401298464E-45 to ±3.402823466E+38. Examples: 9.9 10.0 100000.1 LSL floats can be specified in scientific notation, e.g. 1.123E-2 or 512E+3. Additionally, the letter f...

Integer

An integer is a signed, 32-bit value with valid range from -2147483648 to 2147483647 (that is 0x80000000 to 0x7FFFFFFF in hex). LSL does not have an unsigned integer type. Examples: 10 122 -59438 0x5465 An integer is a whole number (no decimals). If you want decimals,...