Browse Source

Add typedoc for mesh.bakeCurrentTransformIntoVertices

Nicholas Barlow 5 năm trước cách đây
mục cha
commit
305bbd3165
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/Meshes/mesh.ts

+ 1 - 0
src/Meshes/mesh.ts

@@ -2151,6 +2151,7 @@ export class Mesh extends AbstractMesh implements IGetSetVerticesData {
      * This method returns nothing but really modifies the mesh even if it's originally not set as updatable.
      * Note that, under the hood, this method sets a new VertexBuffer each call.
      * @see http://doc.babylonjs.com/resources/baking_transformations
+     * @param bakeIndependenlyOfChildren indicates whether to preserve all child nodes' World Matrix during baking
      * @returns the current mesh
      */
     public bakeCurrentTransformIntoVertices(bakeIndependenlyOfChildren : boolean = true): Mesh {