babylon.layer.d.ts 571 B

123456789101112131415161718
  1. declare module BABYLON {
  2. class Layer {
  3. public name: string;
  4. public texture: Texture;
  5. public isBackground: boolean;
  6. public color: Color4;
  7. public onDispose: () => void;
  8. private _scene;
  9. private _vertexDeclaration;
  10. private _vertexStrideSize;
  11. private _vertexBuffer;
  12. private _indexBuffer;
  13. private _effect;
  14. constructor(name: string, imgUrl: string, scene: Scene, isBackground?: boolean, color?: Color4);
  15. public render(): void;
  16. public dispose(): void;
  17. }
  18. }