Explorar o código

changed names of boolean parameters to be consistent with BJS boolean parameter names

jbousquie %!s(int64=9) %!d(string=hai) anos
pai
achega
0fde4f3c7b
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      src/Particles/babylon.solidParticleSystem.ts

+ 3 - 3
src/Particles/babylon.solidParticleSystem.ts

@@ -66,7 +66,7 @@ module BABYLON {
         private _w: number = 0.0;
 
 
-        constructor(name: string, scene: Scene, options?: { updatable?: boolean, pickable? :boolean }) {
+        constructor(name: string, scene: Scene, options?: { updatable?: boolean, isPickable? :boolean }) {
             this.name = name;
             this._scene = scene;
             this._camera = scene.activeCamera;
@@ -550,11 +550,11 @@ module BABYLON {
         }
 
         // getter and setter
-        public get alwaysVisible(): boolean {
+        public get isAlwaysVisible(): boolean {
             return this._alwaysVisible;
         }
 
-        public set alwaysVisible(val: boolean) {
+        public set isAlwaysVisible(val: boolean) {
             this._alwaysVisible = val;
             this.mesh.alwaysSelectAsActiveMesh = val;
         }