Parcourir la source

API doc : precision on createInstance for Lines

jbousquie il y a 9 ans
Parent
commit
fc46bb6467
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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);