浏览代码

API doc : precision on createInstance for Lines

jbousquie 9 年之前
父节点
当前提交
fc46bb6467
共有 1 个文件被更改,包括 1 次插入0 次删除
  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);