Class MohoLayerRenderOptions

Version added: 14.4
Default values are listed below, in the descriptions of the properties.

See also: MohoLayer:RenderLayerImage

Properties of MohoLayerRenderOptions:

Name Type Description Ver
debugResult bool false - display the output image in the GUI (useful for debugging scripts) 14.4
embedColorProfile bool false - embed a color profile in the output image 14.4
frame int32 default is 0 14.4
imageExtension String "png" - can also be "jpg" or an empty string "" to produce no image output 14.4
imagePath char the path of the rendered image 14.4
layerBounds BBox the bounds of the rendered image in document space 14.4
maxDimension int32 1024 - maximum size of the rendered result (pixels) 14.4
mesh M_Mesh3D pass in a mesh object if you want to have Moho generate a mesh (can be NULL) 14.4
minDimension int32 8 - minimum size of the rendered result (pixels) 14.4
polyCountX int32 20 - when building a mesh, how many polygons in the X direction (not used if polyDensity > 0) 14.4
polyCountY int32 20 - when building a mesh, how many polygons in the Y direction (not used if polyDensity > 0) 14.4
polyDensity int32 10 - how many pixels per polygon (approximately). A value of 10 would mean that each square covers about 10 pixels in each direction. 14.4
trimResult bool true 14.4