PolygonMeshBuilder

Description

class PolygonMeshBuilder

Constructor

new PolygonMeshBuilder(name, contours, scene)

Parameters

Name Type Description
name string
contours Path2
scene Scene

new PolygonMeshBuilder(name, contours, scene)

Parameters

Name Type Description
name string
contours Vector2[]
scene Scene

Methods

addHole(hole) PolygonMeshBuilder

Parameters

Name Type Description
hole Vector2[]

build(updatable, depth) Mesh

Parameters

Name Type Description
optional updatable boolean
optional depth number