babylon.perlinNoiseProceduralTexture.d.ts 1.1 KB

1234567891011121314151617181920212223242526
  1. declare module BABYLON {
  2. class PerlinNoiseProceduralTexture extends ProceduralTexture {
  3. time: number;
  4. timeScale: number;
  5. translationSpeed: number;
  6. private _currentTranslation;
  7. constructor(name: string, size: number, scene: Scene, fallbackTexture?: Texture, generateMipMaps?: boolean);
  8. updateShaderUniforms(): void;
  9. render(useCameraPostProcess?: boolean): void;
  10. resize(size: any, generateMipMaps: any): void;
  11. /**
  12. * Serializes this perlin noise procedural texture
  13. * @returns a serialized perlin noise procedural texture object
  14. */
  15. serialize(): any;
  16. /**
  17. * Creates a Perlin Noise Procedural Texture from parsed perlin noise procedural texture data
  18. * @param parsedTexture defines parsed texture data
  19. * @param scene defines the current scene
  20. * @param rootUrl defines the root URL containing perlin noise procedural texture information
  21. * @returns a parsed Perlin Noise Procedural Texture
  22. */
  23. static Parse(parsedTexture: any, scene: Scene, rootUrl: string): PerlinNoiseProceduralTexture;
  24. }
  25. }