babylonjs.proceduralTextures.module.d.ts 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549
  1. /*BabylonJS Procedural Textures*/
  2. // Dependencies for this module:
  3. // ../../../../Tools/Gulp/babylonjs
  4. declare module 'babylonjs-procedural-textures' {
  5. export * from "babylonjs-procedural-textures/src/brick";
  6. export * from "babylonjs-procedural-textures/src/cloud";
  7. export * from "babylonjs-procedural-textures/src/fire";
  8. export * from "babylonjs-procedural-textures/src/grass";
  9. export * from "babylonjs-procedural-textures/src/marble";
  10. export * from "babylonjs-procedural-textures/src/normalMap";
  11. export * from "babylonjs-procedural-textures/src/perlinNoise";
  12. export * from "babylonjs-procedural-textures/src/road";
  13. export * from "babylonjs-procedural-textures/src/starfield";
  14. export * from "babylonjs-procedural-textures/src/wood";
  15. }
  16. declare module 'babylonjs-procedural-textures/src/brick' {
  17. export * from "babylonjs-procedural-textures/src/brick/brickProceduralTexture";
  18. }
  19. declare module 'babylonjs-procedural-textures/src/cloud' {
  20. export * from "babylonjs-procedural-textures/src/cloud/cloudProceduralTexture";
  21. }
  22. declare module 'babylonjs-procedural-textures/src/fire' {
  23. export * from "babylonjs-procedural-textures/src/fire/fireProceduralTexture";
  24. }
  25. declare module 'babylonjs-procedural-textures/src/grass' {
  26. export * from "babylonjs-procedural-textures/src/grass/grassProceduralTexture";
  27. }
  28. declare module 'babylonjs-procedural-textures/src/marble' {
  29. export * from "babylonjs-procedural-textures/src/marble/marbleProceduralTexture";
  30. }
  31. declare module 'babylonjs-procedural-textures/src/normalMap' {
  32. export * from "babylonjs-procedural-textures/src/normalMap/normalMapProceduralTexture";
  33. }
  34. declare module 'babylonjs-procedural-textures/src/perlinNoise' {
  35. export * from "babylonjs-procedural-textures/src/perlinNoise/perlinNoiseProceduralTexture";
  36. }
  37. declare module 'babylonjs-procedural-textures/src/road' {
  38. export * from "babylonjs-procedural-textures/src/road/roadProceduralTexture";
  39. }
  40. declare module 'babylonjs-procedural-textures/src/starfield' {
  41. export * from "babylonjs-procedural-textures/src/starfield/starfieldProceduralTexture";
  42. }
  43. declare module 'babylonjs-procedural-textures/src/wood' {
  44. export * from "babylonjs-procedural-textures/src/wood/woodProceduralTexture";
  45. }
  46. declare module 'babylonjs-procedural-textures/src/brick/brickProceduralTexture' {
  47. import { ProceduralTexture, Color3, Scene, Texture } from "babylonjs";
  48. export class BrickProceduralTexture extends ProceduralTexture {
  49. constructor(name: string, size: number, scene: Scene, fallbackTexture?: Texture, generateMipMaps?: boolean);
  50. updateShaderUniforms(): void;
  51. numberOfBricksHeight: number;
  52. numberOfBricksWidth: number;
  53. jointColor: Color3;
  54. brickColor: Color3;
  55. /**
  56. * Serializes this brick procedural texture
  57. * @returns a serialized brick procedural texture object
  58. */
  59. serialize(): any;
  60. /**
  61. * Creates a Brick Procedural Texture from parsed brick procedural texture data
  62. * @param parsedTexture defines parsed texture data
  63. * @param scene defines the current scene
  64. * @param rootUrl defines the root URL containing brick procedural texture information
  65. * @returns a parsed Brick Procedural Texture
  66. */
  67. static Parse(parsedTexture: any, scene: Scene, rootUrl: string): BrickProceduralTexture;
  68. }
  69. }
  70. declare module 'babylonjs-procedural-textures/src/cloud/cloudProceduralTexture' {
  71. import { ProceduralTexture, Color4, Scene, Texture } from "babylonjs";
  72. export class CloudProceduralTexture extends ProceduralTexture {
  73. constructor(name: string, size: number, scene: Scene, fallbackTexture?: Texture, generateMipMaps?: boolean);
  74. updateShaderUniforms(): void;
  75. skyColor: Color4;
  76. cloudColor: Color4;
  77. /**
  78. * Serializes this cloud procedural texture
  79. * @returns a serialized cloud procedural texture object
  80. */
  81. serialize(): any;
  82. /**
  83. * Creates a Cloud Procedural Texture from parsed cloud procedural texture data
  84. * @param parsedTexture defines parsed texture data
  85. * @param scene defines the current scene
  86. * @param rootUrl defines the root URL containing cloud procedural texture information
  87. * @returns a parsed Cloud Procedural Texture
  88. */
  89. static Parse(parsedTexture: any, scene: Scene, rootUrl: string): CloudProceduralTexture;
  90. }
  91. }
  92. declare module 'babylonjs-procedural-textures/src/fire/fireProceduralTexture' {
  93. import { ProceduralTexture, Vector2, Color3, Scene, Texture } from "babylonjs";
  94. export class FireProceduralTexture extends ProceduralTexture {
  95. constructor(name: string, size: number, scene: Scene, fallbackTexture?: Texture, generateMipMaps?: boolean);
  96. updateShaderUniforms(): void;
  97. render(useCameraPostProcess?: boolean): void;
  98. static readonly PurpleFireColors: Color3[];
  99. static readonly GreenFireColors: Color3[];
  100. static readonly RedFireColors: Color3[];
  101. static readonly BlueFireColors: Color3[];
  102. autoGenerateTime: boolean;
  103. fireColors: Color3[];
  104. time: number;
  105. speed: Vector2;
  106. alphaThreshold: number;
  107. /**
  108. * Serializes this fire procedural texture
  109. * @returns a serialized fire procedural texture object
  110. */
  111. serialize(): any;
  112. /**
  113. * Creates a Fire Procedural Texture from parsed fire procedural texture data
  114. * @param parsedTexture defines parsed texture data
  115. * @param scene defines the current scene
  116. * @param rootUrl defines the root URL containing fire procedural texture information
  117. * @returns a parsed Fire Procedural Texture
  118. */
  119. static Parse(parsedTexture: any, scene: Scene, rootUrl: string): FireProceduralTexture;
  120. }
  121. }
  122. declare module 'babylonjs-procedural-textures/src/grass/grassProceduralTexture' {
  123. import { ProceduralTexture, Color3, Scene, Texture } from "babylonjs";
  124. export class GrassProceduralTexture extends ProceduralTexture {
  125. constructor(name: string, size: number, scene: Scene, fallbackTexture?: Texture, generateMipMaps?: boolean);
  126. updateShaderUniforms(): void;
  127. grassColors: Color3[];
  128. groundColor: Color3;
  129. /**
  130. * Serializes this grass procedural texture
  131. * @returns a serialized grass procedural texture object
  132. */
  133. serialize(): any;
  134. /**
  135. * Creates a Grass Procedural Texture from parsed grass procedural texture data
  136. * @param parsedTexture defines parsed texture data
  137. * @param scene defines the current scene
  138. * @param rootUrl defines the root URL containing grass procedural texture information
  139. * @returns a parsed Grass Procedural Texture
  140. */
  141. static Parse(parsedTexture: any, scene: Scene, rootUrl: string): GrassProceduralTexture;
  142. }
  143. }
  144. declare module 'babylonjs-procedural-textures/src/marble/marbleProceduralTexture' {
  145. import { ProceduralTexture, Color3, Scene, Texture } from "babylonjs";
  146. export class MarbleProceduralTexture extends ProceduralTexture {
  147. constructor(name: string, size: number, scene: Scene, fallbackTexture?: Texture, generateMipMaps?: boolean);
  148. updateShaderUniforms(): void;
  149. numberOfTilesHeight: number;
  150. amplitude: number;
  151. numberOfTilesWidth: number;
  152. jointColor: Color3;
  153. /**
  154. * Serializes this marble procedural texture
  155. * @returns a serialized marble procedural texture object
  156. */
  157. serialize(): any;
  158. /**
  159. * Creates a Marble Procedural Texture from parsed marble procedural texture data
  160. * @param parsedTexture defines parsed texture data
  161. * @param scene defines the current scene
  162. * @param rootUrl defines the root URL containing marble procedural texture information
  163. * @returns a parsed Marble Procedural Texture
  164. */
  165. static Parse(parsedTexture: any, scene: Scene, rootUrl: string): MarbleProceduralTexture;
  166. }
  167. }
  168. declare module 'babylonjs-procedural-textures/src/normalMap/normalMapProceduralTexture' {
  169. import { ProceduralTexture, Texture, Scene } from "babylonjs";
  170. export class NormalMapProceduralTexture extends ProceduralTexture {
  171. constructor(name: string, size: number, scene: Scene, fallbackTexture?: Texture, generateMipMaps?: boolean);
  172. updateShaderUniforms(): void;
  173. render(useCameraPostProcess?: boolean): void;
  174. resize(size: any, generateMipMaps: any): void;
  175. baseTexture: Texture;
  176. /**
  177. * Serializes this normal map procedural texture
  178. * @returns a serialized normal map procedural texture object
  179. */
  180. serialize(): any;
  181. /**
  182. * Creates a Normal Map Procedural Texture from parsed normal map procedural texture data
  183. * @param parsedTexture defines parsed texture data
  184. * @param scene defines the current scene
  185. * @param rootUrl defines the root URL containing normal map procedural texture information
  186. * @returns a parsed Normal Map Procedural Texture
  187. */
  188. static Parse(parsedTexture: any, scene: Scene, rootUrl: string): NormalMapProceduralTexture;
  189. }
  190. }
  191. declare module 'babylonjs-procedural-textures/src/perlinNoise/perlinNoiseProceduralTexture' {
  192. import { ProceduralTexture, Scene, Texture } from "babylonjs";
  193. export class PerlinNoiseProceduralTexture extends ProceduralTexture {
  194. time: number;
  195. timeScale: number;
  196. translationSpeed: number;
  197. constructor(name: string, size: number, scene: Scene, fallbackTexture?: Texture, generateMipMaps?: boolean);
  198. updateShaderUniforms(): void;
  199. render(useCameraPostProcess?: boolean): void;
  200. resize(size: any, generateMipMaps: any): void;
  201. /**
  202. * Serializes this perlin noise procedural texture
  203. * @returns a serialized perlin noise procedural texture object
  204. */
  205. serialize(): any;
  206. /**
  207. * Creates a Perlin Noise Procedural Texture from parsed perlin noise procedural texture data
  208. * @param parsedTexture defines parsed texture data
  209. * @param scene defines the current scene
  210. * @param rootUrl defines the root URL containing perlin noise procedural texture information
  211. * @returns a parsed Perlin Noise Procedural Texture
  212. */
  213. static Parse(parsedTexture: any, scene: Scene, rootUrl: string): PerlinNoiseProceduralTexture;
  214. }
  215. }
  216. declare module 'babylonjs-procedural-textures/src/road/roadProceduralTexture' {
  217. import { ProceduralTexture, Color3, Scene, Texture } from "babylonjs";
  218. export class RoadProceduralTexture extends ProceduralTexture {
  219. constructor(name: string, size: number, scene: Scene, fallbackTexture?: Texture, generateMipMaps?: boolean);
  220. updateShaderUniforms(): void;
  221. roadColor: Color3;
  222. /**
  223. * Serializes this road procedural texture
  224. * @returns a serialized road procedural texture object
  225. */
  226. serialize(): any;
  227. /**
  228. * Creates a Road Procedural Texture from parsed road procedural texture data
  229. * @param parsedTexture defines parsed texture data
  230. * @param scene defines the current scene
  231. * @param rootUrl defines the root URL containing road procedural texture information
  232. * @returns a parsed Road Procedural Texture
  233. */
  234. static Parse(parsedTexture: any, scene: Scene, rootUrl: string): RoadProceduralTexture;
  235. }
  236. }
  237. declare module 'babylonjs-procedural-textures/src/starfield/starfieldProceduralTexture' {
  238. import { ProceduralTexture, Scene, Texture } from "babylonjs";
  239. export class StarfieldProceduralTexture extends ProceduralTexture {
  240. constructor(name: string, size: number, scene: Scene, fallbackTexture?: Texture, generateMipMaps?: boolean);
  241. updateShaderUniforms(): void;
  242. time: number;
  243. alpha: number;
  244. beta: number;
  245. formuparam: number;
  246. stepsize: number;
  247. zoom: number;
  248. tile: number;
  249. brightness: number;
  250. darkmatter: number;
  251. distfading: number;
  252. saturation: number;
  253. /**
  254. * Serializes this starfield procedural texture
  255. * @returns a serialized starfield procedural texture object
  256. */
  257. serialize(): any;
  258. /**
  259. * Creates a Starfield Procedural Texture from parsed startfield procedural texture data
  260. * @param parsedTexture defines parsed texture data
  261. * @param scene defines the current scene
  262. * @param rootUrl defines the root URL containing startfield procedural texture information
  263. * @returns a parsed Starfield Procedural Texture
  264. */
  265. static Parse(parsedTexture: any, scene: Scene, rootUrl: string): StarfieldProceduralTexture;
  266. }
  267. }
  268. declare module 'babylonjs-procedural-textures/src/wood/woodProceduralTexture' {
  269. import { ProceduralTexture, Color3, Scene, Texture } from "babylonjs";
  270. export class WoodProceduralTexture extends ProceduralTexture {
  271. constructor(name: string, size: number, scene: Scene, fallbackTexture?: Texture, generateMipMaps?: boolean);
  272. updateShaderUniforms(): void;
  273. ampScale: number;
  274. woodColor: Color3;
  275. /**
  276. * Serializes this wood procedural texture
  277. * @returns a serialized wood procedural texture object
  278. */
  279. serialize(): any;
  280. /**
  281. * Creates a Wood Procedural Texture from parsed wood procedural texture data
  282. * @param parsedTexture defines parsed texture data
  283. * @param scene defines the current scene
  284. * @param rootUrl defines the root URL containing wood procedural texture information
  285. * @returns a parsed Wood Procedural Texture
  286. */
  287. static Parse(parsedTexture: any, scene: Scene, rootUrl: string): WoodProceduralTexture;
  288. }
  289. }
  290. /*BabylonJS Procedural Textures*/
  291. // Dependencies for this module:
  292. // ../../../../Tools/Gulp/babylonjs
  293. declare module BABYLON {
  294. export class BrickProceduralTexture extends BABYLON.ProceduralTexture {
  295. constructor(name: string, size: number, scene: BABYLON.Scene, fallbackTexture?: BABYLON.Texture, generateMipMaps?: boolean);
  296. updateShaderUniforms(): void;
  297. numberOfBricksHeight: number;
  298. numberOfBricksWidth: number;
  299. jointColor: BABYLON.Color3;
  300. brickColor: BABYLON.Color3;
  301. /**
  302. * Serializes this brick procedural texture
  303. * @returns a serialized brick procedural texture object
  304. */
  305. serialize(): any;
  306. /**
  307. * Creates a Brick Procedural BABYLON.Texture from parsed brick procedural texture data
  308. * @param parsedTexture defines parsed texture data
  309. * @param scene defines the current scene
  310. * @param rootUrl defines the root URL containing brick procedural texture information
  311. * @returns a parsed Brick Procedural BABYLON.Texture
  312. */
  313. static Parse(parsedTexture: any, scene: BABYLON.Scene, rootUrl: string): BrickProceduralTexture;
  314. }
  315. }
  316. declare module BABYLON {
  317. export class CloudProceduralTexture extends BABYLON.ProceduralTexture {
  318. constructor(name: string, size: number, scene: BABYLON.Scene, fallbackTexture?: BABYLON.Texture, generateMipMaps?: boolean);
  319. updateShaderUniforms(): void;
  320. skyColor: BABYLON.Color4;
  321. cloudColor: BABYLON.Color4;
  322. /**
  323. * Serializes this cloud procedural texture
  324. * @returns a serialized cloud procedural texture object
  325. */
  326. serialize(): any;
  327. /**
  328. * Creates a Cloud Procedural BABYLON.Texture from parsed cloud procedural texture data
  329. * @param parsedTexture defines parsed texture data
  330. * @param scene defines the current scene
  331. * @param rootUrl defines the root URL containing cloud procedural texture information
  332. * @returns a parsed Cloud Procedural BABYLON.Texture
  333. */
  334. static Parse(parsedTexture: any, scene: BABYLON.Scene, rootUrl: string): CloudProceduralTexture;
  335. }
  336. }
  337. declare module BABYLON {
  338. export class FireProceduralTexture extends BABYLON.ProceduralTexture {
  339. constructor(name: string, size: number, scene: BABYLON.Scene, fallbackTexture?: BABYLON.Texture, generateMipMaps?: boolean);
  340. updateShaderUniforms(): void;
  341. render(useCameraPostProcess?: boolean): void;
  342. static readonly PurpleFireColors: BABYLON.Color3[];
  343. static readonly GreenFireColors: BABYLON.Color3[];
  344. static readonly RedFireColors: BABYLON.Color3[];
  345. static readonly BlueFireColors: BABYLON.Color3[];
  346. autoGenerateTime: boolean;
  347. fireColors: BABYLON.Color3[];
  348. time: number;
  349. speed: BABYLON.Vector2;
  350. alphaThreshold: number;
  351. /**
  352. * Serializes this fire procedural texture
  353. * @returns a serialized fire procedural texture object
  354. */
  355. serialize(): any;
  356. /**
  357. * Creates a Fire Procedural BABYLON.Texture from parsed fire procedural texture data
  358. * @param parsedTexture defines parsed texture data
  359. * @param scene defines the current scene
  360. * @param rootUrl defines the root URL containing fire procedural texture information
  361. * @returns a parsed Fire Procedural BABYLON.Texture
  362. */
  363. static Parse(parsedTexture: any, scene: BABYLON.Scene, rootUrl: string): FireProceduralTexture;
  364. }
  365. }
  366. declare module BABYLON {
  367. export class GrassProceduralTexture extends BABYLON.ProceduralTexture {
  368. constructor(name: string, size: number, scene: BABYLON.Scene, fallbackTexture?: BABYLON.Texture, generateMipMaps?: boolean);
  369. updateShaderUniforms(): void;
  370. grassColors: BABYLON.Color3[];
  371. groundColor: BABYLON.Color3;
  372. /**
  373. * Serializes this grass procedural texture
  374. * @returns a serialized grass procedural texture object
  375. */
  376. serialize(): any;
  377. /**
  378. * Creates a Grass Procedural BABYLON.Texture from parsed grass procedural texture data
  379. * @param parsedTexture defines parsed texture data
  380. * @param scene defines the current scene
  381. * @param rootUrl defines the root URL containing grass procedural texture information
  382. * @returns a parsed Grass Procedural BABYLON.Texture
  383. */
  384. static Parse(parsedTexture: any, scene: BABYLON.Scene, rootUrl: string): GrassProceduralTexture;
  385. }
  386. }
  387. declare module BABYLON {
  388. export class MarbleProceduralTexture extends BABYLON.ProceduralTexture {
  389. constructor(name: string, size: number, scene: BABYLON.Scene, fallbackTexture?: BABYLON.Texture, generateMipMaps?: boolean);
  390. updateShaderUniforms(): void;
  391. numberOfTilesHeight: number;
  392. amplitude: number;
  393. numberOfTilesWidth: number;
  394. jointColor: BABYLON.Color3;
  395. /**
  396. * Serializes this marble procedural texture
  397. * @returns a serialized marble procedural texture object
  398. */
  399. serialize(): any;
  400. /**
  401. * Creates a Marble Procedural BABYLON.Texture from parsed marble procedural texture data
  402. * @param parsedTexture defines parsed texture data
  403. * @param scene defines the current scene
  404. * @param rootUrl defines the root URL containing marble procedural texture information
  405. * @returns a parsed Marble Procedural BABYLON.Texture
  406. */
  407. static Parse(parsedTexture: any, scene: BABYLON.Scene, rootUrl: string): MarbleProceduralTexture;
  408. }
  409. }
  410. declare module BABYLON {
  411. export class NormalMapProceduralTexture extends BABYLON.ProceduralTexture {
  412. constructor(name: string, size: number, scene: BABYLON.Scene, fallbackTexture?: BABYLON.Texture, generateMipMaps?: boolean);
  413. updateShaderUniforms(): void;
  414. render(useCameraPostProcess?: boolean): void;
  415. resize(size: any, generateMipMaps: any): void;
  416. baseTexture: BABYLON.Texture;
  417. /**
  418. * Serializes this normal map procedural texture
  419. * @returns a serialized normal map procedural texture object
  420. */
  421. serialize(): any;
  422. /**
  423. * Creates a Normal Map Procedural BABYLON.Texture from parsed normal map procedural texture data
  424. * @param parsedTexture defines parsed texture data
  425. * @param scene defines the current scene
  426. * @param rootUrl defines the root URL containing normal map procedural texture information
  427. * @returns a parsed Normal Map Procedural BABYLON.Texture
  428. */
  429. static Parse(parsedTexture: any, scene: BABYLON.Scene, rootUrl: string): NormalMapProceduralTexture;
  430. }
  431. }
  432. declare module BABYLON {
  433. export class PerlinNoiseProceduralTexture extends BABYLON.ProceduralTexture {
  434. time: number;
  435. timeScale: number;
  436. translationSpeed: number;
  437. constructor(name: string, size: number, scene: BABYLON.Scene, fallbackTexture?: BABYLON.Texture, generateMipMaps?: boolean);
  438. updateShaderUniforms(): void;
  439. render(useCameraPostProcess?: boolean): void;
  440. resize(size: any, generateMipMaps: any): void;
  441. /**
  442. * Serializes this perlin noise procedural texture
  443. * @returns a serialized perlin noise procedural texture object
  444. */
  445. serialize(): any;
  446. /**
  447. * Creates a Perlin Noise Procedural BABYLON.Texture from parsed perlin noise procedural texture data
  448. * @param parsedTexture defines parsed texture data
  449. * @param scene defines the current scene
  450. * @param rootUrl defines the root URL containing perlin noise procedural texture information
  451. * @returns a parsed Perlin Noise Procedural BABYLON.Texture
  452. */
  453. static Parse(parsedTexture: any, scene: BABYLON.Scene, rootUrl: string): PerlinNoiseProceduralTexture;
  454. }
  455. }
  456. declare module BABYLON {
  457. export class RoadProceduralTexture extends BABYLON.ProceduralTexture {
  458. constructor(name: string, size: number, scene: BABYLON.Scene, fallbackTexture?: BABYLON.Texture, generateMipMaps?: boolean);
  459. updateShaderUniforms(): void;
  460. roadColor: BABYLON.Color3;
  461. /**
  462. * Serializes this road procedural texture
  463. * @returns a serialized road procedural texture object
  464. */
  465. serialize(): any;
  466. /**
  467. * Creates a Road Procedural BABYLON.Texture from parsed road procedural texture data
  468. * @param parsedTexture defines parsed texture data
  469. * @param scene defines the current scene
  470. * @param rootUrl defines the root URL containing road procedural texture information
  471. * @returns a parsed Road Procedural BABYLON.Texture
  472. */
  473. static Parse(parsedTexture: any, scene: BABYLON.Scene, rootUrl: string): RoadProceduralTexture;
  474. }
  475. }
  476. declare module BABYLON {
  477. export class StarfieldProceduralTexture extends BABYLON.ProceduralTexture {
  478. constructor(name: string, size: number, scene: BABYLON.Scene, fallbackTexture?: BABYLON.Texture, generateMipMaps?: boolean);
  479. updateShaderUniforms(): void;
  480. time: number;
  481. alpha: number;
  482. beta: number;
  483. formuparam: number;
  484. stepsize: number;
  485. zoom: number;
  486. tile: number;
  487. brightness: number;
  488. darkmatter: number;
  489. distfading: number;
  490. saturation: number;
  491. /**
  492. * Serializes this starfield procedural texture
  493. * @returns a serialized starfield procedural texture object
  494. */
  495. serialize(): any;
  496. /**
  497. * Creates a Starfield Procedural BABYLON.Texture from parsed startfield procedural texture data
  498. * @param parsedTexture defines parsed texture data
  499. * @param scene defines the current scene
  500. * @param rootUrl defines the root URL containing startfield procedural texture information
  501. * @returns a parsed Starfield Procedural BABYLON.Texture
  502. */
  503. static Parse(parsedTexture: any, scene: BABYLON.Scene, rootUrl: string): StarfieldProceduralTexture;
  504. }
  505. }
  506. declare module BABYLON {
  507. export class WoodProceduralTexture extends BABYLON.ProceduralTexture {
  508. constructor(name: string, size: number, scene: BABYLON.Scene, fallbackTexture?: BABYLON.Texture, generateMipMaps?: boolean);
  509. updateShaderUniforms(): void;
  510. ampScale: number;
  511. woodColor: BABYLON.Color3;
  512. /**
  513. * Serializes this wood procedural texture
  514. * @returns a serialized wood procedural texture object
  515. */
  516. serialize(): any;
  517. /**
  518. * Creates a Wood Procedural BABYLON.Texture from parsed wood procedural texture data
  519. * @param parsedTexture defines parsed texture data
  520. * @param scene defines the current scene
  521. * @param rootUrl defines the root URL containing wood procedural texture information
  522. * @returns a parsed Wood Procedural BABYLON.Texture
  523. */
  524. static Parse(parsedTexture: any, scene: BABYLON.Scene, rootUrl: string): WoodProceduralTexture;
  525. }
  526. }