Label
ABSTRACT
Generates a label text placed on a specific mesh in the given direction.
PARAMETERS
mesh | The mesh-tree on which the label will be placed |
str | The text string for the label |
scale | Scalar value indicating the size or scale of the label text |
dir | A 3-vector specifying the direction relative to the selected mesh where the label should be placed |
default | An enum branch specifying the default coloring scheme, a white fill with zero stroke opacity. |
stroke | A 4-vector representing the color of the stroke |
stroke | A 4-vector representing the color of the stroke |
fill | A 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}})