|
@@ -476,7 +476,7 @@ export class MeshBuilder {
|
|
* @param earcutInjection can be used to inject your own earcut reference
|
|
* @param earcutInjection can be used to inject your own earcut reference
|
|
* @returns the polygon mesh
|
|
* @returns the polygon mesh
|
|
*/
|
|
*/
|
|
- public static ExtrudePolygon(name: string, options: { shape: Vector3[], holes?: Vector3[][], depth?: number, faceUV?: Vector4[], faceColors?: Color4[], updatable?: boolean, sideOrientation?: number, frontUVs?: Vector4, backUVs?: Vector4 }, scene: Nullable<Scene> = null, earcutInjection = earcut): Mesh {
|
|
|
|
|
|
+ public static ExtrudePolygon(name: string, options: { shape: Vector3[], holes?: Vector3[][], depth?: number, faceUV?: Vector4[], faceColors?: Color4[], updatable?: boolean, sideOrientation?: number, frontUVs?: Vector4, backUVs?: Vector4, wrap?: boolean }, scene: Nullable<Scene> = null, earcutInjection = earcut): Mesh {
|
|
return PolygonBuilder.ExtrudePolygon(name, options, scene, earcutInjection);
|
|
return PolygonBuilder.ExtrudePolygon(name, options, scene, earcutInjection);
|
|
}
|
|
}
|
|
|
|
|