Optionalshape: Vector3[]Optionalholes: Vector3[][]Optionaldepth: numberOptionalsideOrientation: sideOrientationEnumOptionalwrap: booleanOptionalenableShadows: booleanThe outline points in order, only X and Z used; the outline must not cross itself
OptionalholesLists of points, one outline per hole through the extrusion
OptionaldepthHow far the polygon is extruded downward along Y, in scene units
OptionalsideWhich side of each face is drawn: the front, the back or both; single-sided meshes are invisible from behind
OptionalwrapWhen true, the sides get texture coordinates that wrap around the extrusion
OptionalenableWhen true, the mesh casts and receives shadows from the lights that have them enabled
Feeds
babylon.meshBuilder.extrudePolygon: the outline of a flat polygon in the XZ plane, its holes, and how far it is extruded downward.