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
name | Name or reference identifier for the image. Should be specified using a str (i.e. "image_i_named_in_media.png" |
center | A 3-vector indicating the center coordinates of the image |
width | A scalar value representing the width of the image |
height | A scalar value representing the height of the image |
center | A 3-vector indicating the center coordinates of the image |
width | A scalar value representing the width of the image |
height | A scalar value representing the height of the image |
normal | A 3-vector representing the normal direction of the image |
tag | A vector of numbers used as the mesh's tag |
default | An 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. |
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. 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}})