Text

ABSTRACT

Generates a text mesh based on specified parameters.

IMPORTANT ELEMENT

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

PARAMETERS
textText string to be rendered. In particular, it uses latex. Of extreme important is the tagging mechanics. In the text 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 254. You can also do \rowpin{tag_a}{tag_b}{content}, to give the tag a two vector of consistent of {tag_a, tag_b}. 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 text. 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 text mesh conforming to the specified parameters

DECLARATION
func Text(text, scale, [color] {[default] {}, [stroke] {stroke}, [solid] {stroke, fill}})