Explorar el Código

API doc : precision on createInstance for Lines

jbousquie hace 9 años
padre
commit
fc46bb6467
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/Mesh/babylon.mesh.ts

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

@@ -1591,6 +1591,7 @@
          * - setPivotMatrix
          * - scaling
          * tuto : http://doc.babylonjs.com/tutorials/How_to_use_Instances
+         * Warning : this method is not supported for `Line` mesh and `LineSystem`
          */
         public createInstance(name: string): InstancedMesh {
             return new InstancedMesh(name, this);