babylon.roadProceduralTexture.d.ts 932 B

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