David Catuhe 7 rokov pred
rodič
commit
a6498abfbd
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      src/Mesh/babylon.mesh.ts

+ 1 - 0
src/Mesh/babylon.mesh.ts

@@ -2145,6 +2145,7 @@
         /**
          * Creates a new InstancedMesh object from the mesh model.
          * An instance shares the same properties and the same material than its model.
+         * Please make sure to call mesh.makeGeometryUnique() if you are calling createInstance on a previously cloned mesh.
          * Only these properties of each instance can then be set individually :
          * - position
          * - rotation