9.5.2

Table Of Contents
1072 CHAPTER 22
XPRESSO EDITOR 1073
Real
Unlike integers, reals can be fractional numbers. A typical example of a real is Pi, i.e. 3.141592654. Use
the Real type when complex calculations are involved and you want an accurate result. Reals can be
converted to vectors or integers. When a real is converted to an integer, all numbers after the decimal
point will be lost (i.e. reals are rounded down when converted to integers).
Spline
With the Spline data type, you draw a spline in the Attribute manager using a graph. The graph runs
from the variable extremes Min X to Max X along the horizontal axis and from Min Y to Max Y along
the vertical axis.
String
The String data type is for text and character strings. A string can hold letters, numbers and special
characters. For example, you can use the String data type to allow the user to input a name into a text
box. In addition, XPresso wires are able to automatically convert numeric sequences in the string to
vectors, matrices or other numeric formats. For example, you can pass the string ‘12;4;5’ to a node
instead of the vector (12;4;5).
Texture
This element contains a reference to a texture, i.e. to an image le or shader. This data type is of use
only when used with materials, such as within a material channel.