Optional settings: BakeGeometrySettingsOptionally 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).
Finds all child nodes (TransformNodes, Meshes, but also Lights, Cameras, etc...) that match a given criteria.
Optional node: NodeIf left empty, all nodes of the scene are considered
Optional criteria: FindNodeCriteria<T>If left empty, all child nodes are returned
Finds nearest node that matches a given criteria.
Returns undefined if no node could be found.
Optional criteria: FindNodeCriteria<T>Get a TransformNode by name or create one if not already available.
Optionally set a parent node for the new TransformNode right away.
Optional settings: CreateTransformNodeSettingsGenerated using TypeDoc
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.