babylon.triPlanarMaterial.d.ts 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /// <reference path="../../../dist/preview release/babylon.d.ts" />
  2. declare module BABYLON {
  3. class TriPlanarMaterial extends Material {
  4. mixTexture: BaseTexture;
  5. diffuseTextureX: Texture;
  6. diffuseTextureY: Texture;
  7. diffuseTextureZ: Texture;
  8. normalTextureX: Texture;
  9. normalTextureY: Texture;
  10. normalTextureZ: Texture;
  11. tileSize: number;
  12. diffuseColor: Color3;
  13. specularColor: Color3;
  14. specularPower: number;
  15. disableLighting: boolean;
  16. maxSimultaneousLights: number;
  17. private _worldViewProjectionMatrix;
  18. private _renderId;
  19. private _defines;
  20. private _cachedDefines;
  21. constructor(name: string, scene: Scene);
  22. needAlphaBlending(): boolean;
  23. needAlphaTesting(): boolean;
  24. getAlphaTestTexture(): BaseTexture;
  25. private _checkCache(scene, mesh?, useInstances?);
  26. isReady(mesh?: AbstractMesh, useInstances?: boolean): boolean;
  27. bindOnlyWorldMatrix(world: Matrix): void;
  28. bind(world: Matrix, mesh?: Mesh): void;
  29. getAnimatables(): IAnimatable[];
  30. dispose(forceDisposeEffect?: boolean): void;
  31. clone(name: string): TriPlanarMaterial;
  32. serialize(): any;
  33. static Parse(source: any, scene: Scene, rootUrl: string): TriPlanarMaterial;
  34. }
  35. }