The HTML interface only supports strings. Much of the data that is needed for 3D content is numeric. XSeen handles the difference by converting the supplied strings to the various formats needed internally. The conversion is done during parsing of the tags and attributes either during the initial pass or when modified during runtime (mutation).
This section does not cover events. That is covered in the API (tbd) section.
The following data types are described:
- string
- boolean
- integer
- float
- vec2 (2-element vector)
- vec3 (3-element vector)
- xyz (3-element space vector)
- rotation (3-element rotation vector)
- vec4 (4-element vector
- vector (general vector)
Numeric data types (everything but string) are case insensitive. Strings may or may not be, depending on the attribute. See the individual attribute for details. An attribute may specify that the value is enumerated. If the supplied value is not in the enumerated list, then the default value is returned. Enumerated lists are typically case insensitive. The detailed requirements are described for each attribute.