babylon.lavaMaterial.d.ts 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. declare module BABYLON {
  2. class LavaMaterial extends PushMaterial {
  3. private _diffuseTexture;
  4. diffuseTexture: BaseTexture;
  5. noiseTexture: BaseTexture;
  6. fogColor: Color3;
  7. speed: number;
  8. movingSpeed: number;
  9. lowFrequencySpeed: number;
  10. fogDensity: number;
  11. private _lastTime;
  12. diffuseColor: Color3;
  13. private _disableLighting;
  14. disableLighting: boolean;
  15. private _maxSimultaneousLights;
  16. maxSimultaneousLights: number;
  17. private _worldViewProjectionMatrix;
  18. private _scaledDiffuse;
  19. private _renderId;
  20. constructor(name: string, scene: Scene);
  21. needAlphaBlending(): boolean;
  22. needAlphaTesting(): boolean;
  23. getAlphaTestTexture(): BaseTexture;
  24. isReadyForSubMesh(mesh: AbstractMesh, subMesh: SubMesh, useInstances?: boolean): boolean;
  25. bindForSubMesh(world: Matrix, mesh: Mesh, subMesh: SubMesh): void;
  26. getAnimatables(): IAnimatable[];
  27. getActiveTextures(): BaseTexture[];
  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. }