babylon.lavaMaterial.d.ts 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. /// <reference path="../../../dist/preview release/babylon.d.ts" />
  2. declare module BABYLON {
  3. class LavaMaterial extends PushMaterial {
  4. private _diffuseTexture;
  5. diffuseTexture: BaseTexture;
  6. noiseTexture: BaseTexture;
  7. fogColor: Color3;
  8. speed: number;
  9. movingSpeed: number;
  10. lowFrequencySpeed: number;
  11. fogDensity: number;
  12. private _lastTime;
  13. diffuseColor: Color3;
  14. private _disableLighting;
  15. disableLighting: boolean;
  16. private _maxSimultaneousLights;
  17. maxSimultaneousLights: number;
  18. private _worldViewProjectionMatrix;
  19. private _scaledDiffuse;
  20. private _renderId;
  21. constructor(name: string, scene: Scene);
  22. needAlphaBlending(): boolean;
  23. needAlphaTesting(): boolean;
  24. getAlphaTestTexture(): BaseTexture;
  25. isReadyForSubMesh(mesh: AbstractMesh, subMesh: SubMesh, useInstances?: boolean): boolean;
  26. bindForSubMesh(world: Matrix, mesh: Mesh, subMesh: SubMesh): void;
  27. getAnimatables(): IAnimatable[];
  28. dispose(forceDisposeEffect?: boolean): void;
  29. clone(name: string): LavaMaterial;
  30. serialize(): any;
  31. static Parse(source: any, scene: Scene, rootUrl: string): LavaMaterial;
  32. }
  33. }