Image

ABSTRACT

Generates an image mesh based on specified parameters. To use images, first go to the media tab, import an image, and name it appropriately. Then, type the name into the name field.

PARAMETERS
nameName or reference identifier for the image. Should be specified using a str (i.e. "image_i_named_in_media.png"
centerA 3-vector indicating the center coordinates of the image
widthA scalar value representing the width of the image
heightA scalar value representing the height of the image
centerA 3-vector indicating the center coordinates of the image
widthA scalar value representing the width of the image
heightA scalar value representing the height of the image
normalA 3-vector representing the normal direction of the image
tagA vector of numbers used as the mesh's tag
defaultAn enum branch specifying the default coloring scheme, no stroke with white fill. Note that an uprank is always forced. Second note, in the context of images, fill colors represent channel multipliers.
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. Note, in the context of images, fill colors represent channel multipliers.
RETURN

Generates an image mesh conforming to the specified parameters

DECLARATION
func Image(name, [config] {[main] {center, width, height}, [parameterized] {center, width, height, normal}}, tag, [color] {[default] {}, [stroke] {stroke}, [solid] {stroke, fill}})