babylon.brickProceduralTexture.d.ts 1.1 KB

12345678910111213141516171819202122232425262728
  1. declare module BABYLON {
  2. class BrickProceduralTexture extends ProceduralTexture {
  3. private _numberOfBricksHeight;
  4. private _numberOfBricksWidth;
  5. private _jointColor;
  6. private _brickColor;
  7. constructor(name: string, size: number, scene: Scene, fallbackTexture?: Texture, generateMipMaps?: boolean);
  8. updateShaderUniforms(): void;
  9. numberOfBricksHeight: number;
  10. numberOfBricksWidth: number;
  11. jointColor: Color3;
  12. brickColor: Color3;
  13. /**
  14. * Serializes this brick procedural texture
  15. * @returns a serialized brick procedural texture object
  16. */
  17. serialize(): any;
  18. /**
  19. * Creates a Brick Procedural Texture from parsed brick procedural texture data
  20. * @param parsedTexture defines parsed texture data
  21. * @param scene defines the current scene
  22. * @param rootUrl defines the root URL containing brick procedural texture information
  23. * @returns a parsed Brick Procedural Texture
  24. */
  25. static Parse(parsedTexture: any, scene: Scene, rootUrl: string): BrickProceduralTexture;
  26. }
  27. }