CanvasMap
Getting Started Tutorials 3D Reference

Class CM3Text extends CM3Item

CM3Text Class
Creates 3D objects of text including beveled text. See: https://threejs.org/docs/#api/en/geometries/TextGeometry

Settings Group: Font

Setting Name Type Options Default Comments
size Size CMTYPE_FLOAT 12 size of the text
URL URL CMTYPE_STRING global font to use
GlobalFontIndex GlobalFontIndex CMTYPE_INTEGER 0 global font to use

Settings Group: Extrusion

Setting Name Type Options Default Comments
height height CMTYPE_FLOAT 4 amount to extrude the object
curveSegments curveSegments CMTYPE_FLOAT 12 number of points on the curve
bevelEnabled bevelEnabled CMTYPE_BOOLEAN false beveled instead of 90 degree change, keep true for good looking text
bevelSegments bevelSegments CMTYPE_FLOAT 3 number of bevel layers (more makes a smoother bevel but draws slower
bevelSize bevelSize CMTYPE_FLOAT 0.1 width of bevel (distance from shape outline), keep > 0
bevelThickness bevelThickness CMTYPE_FLOAT 0.1 how deep the bevel goes into the extrusion ,keep > 0