Newer
Older
HuangJiPC / public / static / three / examples / jsm / renderers / CSS2DRenderer.d.ts
@zhangdeliang zhangdeliang on 21 Jun 393 bytes update
import {
	Object3D,
	Scene,
	Camera
} from '../../../src/Three';

export class CSS2DObject extends Object3D {

	constructor( element: HTMLElement );
	element: HTMLElement;

}

export class CSS2DRenderer {

	constructor();
	domElement: HTMLElement;

	getSize(): {width: number, height: number};
	setSize( width: number, height: number ): void;
	render( scene: Scene, camera: Camera ): void;

}