Tex

ABSTRACT

Generates a tex mesh based on specified parameters. Tex is essentially the same as Text, but you are in math mode by default.

IMPORTANT ELEMENT

Tex is extremely important, and definitely memorize both Tex and the tagging mechanics

PARAMETERS
texTex string to be rendered. In particular, it uses latex. Of extreme important is the tagging mechanics. In the tex string, there is a special latex function called \pin{tag_number}{content}. If you do this, then in the resultant mesh-tree, the content associated with that pin will have the specified tag_number. However, the tag_number must be an integer from 0 to 255. Content that is not enclosed in any such pin field will be given the empty tag.
scaleScalar value indicating the size or scale of the tex. This isn't in the same coordinates as world space, and theres not a guarantee on the conversion (you'll have to more or less wing it)
defaultAn enum branch specifying the default coloring scheme, a white fill with a stroke that has 0 opacity
strokeA 4-vector representing the color of the stroke
strokeA 4-vector representing the color of the stroke
fillA 4-vector representing the color of the fill
RETURN

Generates a tex mesh conforming to the specified parameters

DECLARATION
func Tex(tex, scale, [color] {[default] {}, [stroke] {stroke}, [solid] {stroke, fill}})