Skip to content
Shapemetry
GeometryModelTypes
​
Geometry
Guide
Modules
brepJsondualnamespaceswasmExportwireMaterial
catalog
axisaxis2dbrepcolorValuecurvemeshnoiseValueplanepointpolyCurveprojectionquaternionValuestatValuetransformValuetriangleMeshtypesvector
namespaces
ArcCurveArcCurve2dAxisAxis2dBoundingBoxBoundingBox2dBrepCollisionColorCurve2dEllipseCurveEllipseCurve2dFontLineCurveMeshNestingNoiseNurbsNurbsCurveNurbsCurve2dPlanePointPoint2dPolyCurvePolyCurve2dPolylineProjectionQuaternionStatSurfaceTextTransformationTransformation2dTriangleMeshVectorVector2dWire

@huukhanhnguyen/geometry / wasmExport

wasmExport#

wasmExport()#

wasmExport<T>(mod, ...names): T

Pick the first function a loaded geometry-wasm actually exports. Throws when none of the names is a function — a missing door is a crash, not a later is not a function on the caller.

Type Parameters#

T#

T

Parameters#

mod#

object

names#

...string[]

Returns#

T

PreviousnamespacesNextwireMaterial
Last updated: August 21, 2026📖 1 min readEdit on GitHub
On this page
wasmExport()Type ParametersTParametersmodnamesReturns
Z-up · Geometry · Model · Types