babylon.layer.d.ts 352 B

123456789101112131415
  1. /// <reference path="../babylon.d.ts" />
  2. declare module BABYLON {
  3. class Layer {
  4. name: string;
  5. texture: Texture;
  6. isBackground: bool;
  7. constructor(name: string, imgUrl: string, scene: Scene, isBackground: bool);
  8. onDispose: () => void;
  9. render(): void;
  10. dispose(): void;
  11. }
  12. }