module:extras/gearmesh

Back to documentation index.

module:extras/gearmesh()

The extras/gearmesh.js module. To import all symbols in this module, either of the following can be used:

import * from "extras/gearmesh.js";
// -- or --
import * as CustomModuleName from "extras/gearmesh.js";

Methods

(static) module:extras/gearmesh.createGear(innerRadius, outerRadius, thickness, teeth, toothDepth)

Builds a mesh buffer representing a gear centered at the origin.

Parameters

Return Value

Return value. (Type: MeshBuffer)

Back to documentation index.