123456789101112131415161718192021222324 |
- declare module BABYLON {
- class GrassProceduralTexture extends ProceduralTexture {
- private _grassColors;
- private _groundColor;
- constructor(name: string, size: number, scene: Scene, fallbackTexture?: Texture, generateMipMaps?: boolean);
- updateShaderUniforms(): void;
- grassColors: Color3[];
- groundColor: Color3;
- /**
- * Serializes this grass procedural texture
- * @returns a serialized grass procedural texture object
- */
- serialize(): any;
- /**
- * Creates a Grass Procedural Texture from parsed grass procedural texture data
- * @param parsedTexture defines parsed texture data
- * @param scene defines the current scene
- * @param rootUrl defines the root URL containing grass procedural texture information
- * @returns a parsed Grass Procedural Texture
- */
- static Parse(parsedTexture: any, scene: Scene, rootUrl: string): GrassProceduralTexture;
- }
- }
|