Label

ABSTRACT

Generates a label text placed on a specific mesh in the given direction.

PARAMETERS
meshThe mesh-tree on which the label will be placed
strThe text string for the label
scaleScalar value indicating the size or scale of the label text
dirA 3-vector specifying the direction relative to the selected mesh where the label should be placed
defaultAn enum branch specifying the default coloring scheme, a white fill with zero stroke 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

The given label mesh-tree.

DECLARATION
func Label(mesh, str, scale, dir, [color] {[default] {}, [stroke] {stroke}, [solid] {stroke, fill}})