julien-c's picture
julien-c HF staff
do not gitignore the builds
6cd9596
raw
history blame contribute delete
598 Bytes
import { Vector2 } from './../math/Vector2';
import { Raycaster } from './../core/Raycaster';
import { Object3D } from './../core/Object3D';
import { Intersection } from '../core/Raycaster';
import { SpriteMaterial } from '../materials/Materials';
import { BufferGeometry } from '../core/BufferGeometry';
export class Sprite extends Object3D {
constructor(material?: SpriteMaterial);
type: 'Sprite';
isSprite: true;
geometry: BufferGeometry;
material: SpriteMaterial;
center: Vector2;
raycast(raycaster: Raycaster, intersects: Intersection[]): void;
copy(source: this): this;
}