Variable NodeUtilsConst

NodeUtils: { bakeGeometryOfMesh: ((mesh: Mesh, settings?: BakeGeometryOptions) => void) } = ...

Type declaration

  • bakeGeometryOfMesh: ((mesh: Mesh, settings?: BakeGeometryOptions) => void)
      • (mesh: Mesh, settings?: BakeGeometryOptions): void
      • Removes transformation data from the mesh and stores it in the geometry, which is called "baking". Also considers the geometry change from morph targets and skeletons.

        Parameters

        • mesh: Mesh
        • Optional settings: BakeGeometryOptions

          Optionally avoid baking the transformation, as this only works conveniently if the parent structure is baked as well. Baking morph targets only is a use case when preparing a mesh for CSG operations, which doesn't consider morph targets (yet).

        Returns void

Generated using TypeDoc