|
@@ -101,7 +101,7 @@ export abstract class EffectLayer {
|
|
|
public neutralColor: Color4 = new Color4();
|
|
|
|
|
|
/**
|
|
|
- * Specifies wether the highlight layer is enabled or not.
|
|
|
+ * Specifies whether the highlight layer is enabled or not.
|
|
|
*/
|
|
|
@serialize()
|
|
|
public isEnabled: boolean = true;
|
|
@@ -197,13 +197,13 @@ export abstract class EffectLayer {
|
|
|
/**
|
|
|
* Checks for the readiness of the element composing the layer.
|
|
|
* @param subMesh the mesh to check for
|
|
|
- * @param useInstances specify wether or not to use instances to render the mesh
|
|
|
+ * @param useInstances specify whether or not to use instances to render the mesh
|
|
|
* @return true if ready otherwise, false
|
|
|
*/
|
|
|
public abstract isReady(subMesh: SubMesh, useInstances: boolean): boolean;
|
|
|
|
|
|
/**
|
|
|
- * Returns wether or nood the layer needs stencil enabled during the mesh rendering.
|
|
|
+ * Returns whether or nood the layer needs stencil enabled during the mesh rendering.
|
|
|
* @returns true if the effect requires stencil during the main canvas render pass.
|
|
|
*/
|
|
|
public abstract needStencil(): boolean;
|
|
@@ -388,7 +388,7 @@ export abstract class EffectLayer {
|
|
|
/**
|
|
|
* Checks for the readiness of the element composing the layer.
|
|
|
* @param subMesh the mesh to check for
|
|
|
- * @param useInstances specify wether or not to use instances to render the mesh
|
|
|
+ * @param useInstances specify whether or not to use instances to render the mesh
|
|
|
* @param emissiveTexture the associated emissive texture used to generate the glow
|
|
|
* @return true if ready otherwise, false
|
|
|
*/
|
|
@@ -772,7 +772,7 @@ export abstract class EffectLayer {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * Defines wether the current material of the mesh should be use to render the effect.
|
|
|
+ * Defines whether the current material of the mesh should be use to render the effect.
|
|
|
* @param mesh defines the current mesh to render
|
|
|
*/
|
|
|
protected _useMeshMaterial(mesh: AbstractMesh): boolean {
|