Provide options without default values
OptionalfaceOpacity: numberOptionalfaceMaterial: anyOptionalfaceColour: stringOptionalcrossSectionColour: stringOptionalcrossSectionWidth: numberOptionalcrossSectionOpacity: numberOptionalcomputeNormals: booleanOptionaldrawTwoSided: booleanOptionalbackFaceColour: stringOptionalbackFaceOpacity: numberOptionalminSharpAngle: numberOptionalfaceHow opaque the faces are, from 0 for invisible to 1 for opaque; a faceMaterial replaces it.
OptionalfaceThe color of the faces of solids and meshes, as a hex string; a faceMaterial replaces it.
OptionalfaceAn engine material for the faces, such as draw.createPBRMaterial makes; given, it replaces
faceColour and faceOpacity.
OptionalcrossThe color of the outline of a cross-section, as a hex string.
OptionalcrossThe width of the outline of a cross-section, a hundredth of it in model units.
OptionalcrossHow opaque the outline of a cross-section is, from 0 for invisible to 1 for opaque.
OptionalcomputeWhen true, the mesh shades smoothly across edges flatter than minSharpAngle and keeps
sharper ones crisp; when false, every face is shaded flat.
OptionalminThe angle between two faces, in degrees, above which their shared edge is drawn sharp when
computeNormals is true.
OptionaldrawWhen true, the back of the faces of solids and meshes is drawn in backFaceColour, which
shows which way they face.
OptionalbackThe color of the back of the faces, as a hex string; used with drawTwoSided.
OptionalbackHow opaque the back of the faces is, from 0 for invisible to 1 for opaque; used with
drawTwoSided.
Feeds
draw.optionsManifoldShapeMaterial: how a Manifold solid or mesh is drawn, by face color or engine material, with its shading and back faces, and how the outline of a cross-section is drawn.