babylon.woodProceduralTexture.d.ts 985 B

123456789101112131415161718192021222324
  1. declare module BABYLON {
  2. class WoodProceduralTexture extends ProceduralTexture {
  3. private _ampScale;
  4. private _woodColor;
  5. constructor(name: string, size: number, scene: Scene, fallbackTexture?: Texture, generateMipMaps?: boolean);
  6. updateShaderUniforms(): void;
  7. ampScale: number;
  8. woodColor: Color3;
  9. /**
  10. * Serializes this wood procedural texture
  11. * @returns a serialized wood procedural texture object
  12. */
  13. serialize(): any;
  14. /**
  15. * Creates a Wood Procedural Texture from parsed wood procedural texture data
  16. * @param parsedTexture defines parsed texture data
  17. * @param scene defines the current scene
  18. * @param rootUrl defines the root URL containing wood procedural texture information
  19. * @returns a parsed Wood Procedural Texture
  20. */
  21. static Parse(parsedTexture: any, scene: Scene, rootUrl: string): WoodProceduralTexture;
  22. }
  23. }