瀏覽代碼

Merge pull request #6944 from sebavan/master

Fix #6943
sebavan 5 年之前
父節點
當前提交
f5a208e8b0
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/Layers/glowLayer.ts
  2. 1 1
      src/Layers/highlightLayer.ts

+ 1 - 1
src/Layers/glowLayer.ts

@@ -85,7 +85,7 @@ export interface IGlowLayerOptions {
 /**
  * The glow layer Helps adding a glow effect around the emissive parts of a mesh.
  *
- * Once instantiated in a scene, simply use the pushMesh or removeMesh method to add or remove
+ * Once instantiated in a scene, simply use the addMesh or removeMesh method to add or remove
  * glowy meshes to your scene.
  *
  * Documentation: https://doc.babylonjs.com/how_to/glow_layer

+ 1 - 1
src/Layers/highlightLayer.ts

@@ -166,7 +166,7 @@ interface IHighlightLayerExcludedMesh {
 /**
  * The highlight layer Helps adding a glow effect around a mesh.
  *
- * Once instantiated in a scene, simply use the pushMesh or removeMesh method to add or remove
+ * Once instantiated in a scene, simply use the addMesh or removeMesh method to add or remove
  * glowy meshes to your scene.
  *
  * !!! THIS REQUIRES AN ACTIVE STENCIL BUFFER ON THE CANVAS !!!