File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1- import { Material } from './../materials/Material' ;
21import { Vector2 } from './../math/Vector2' ;
32import { Raycaster } from './../core/Raycaster' ;
43import { Object3D } from './../core/Object3D' ;
54import { Intersection } from '../core/Raycaster' ;
5+ import { SpriteMaterial } from '../materials/Materials' ;
6+ import { BufferGeometry } from '../core/BufferGeometry' ;
67
78export class Sprite extends Object3D {
8- constructor ( material ?: Material ) ;
9+ constructor ( material ?: SpriteMaterial ) ;
910
1011 type : 'Sprite' ;
1112 isSprite : true ;
1213
13- material : Material ;
14+ geometry : BufferGeometry ;
15+ material : SpriteMaterial ;
1416 center : Vector2 ;
1517
1618 raycast ( raycaster : Raycaster , intersects : Intersection [ ] ) : void ;
17- copy ( source : this, recursive ?: boolean ) : this;
19+ copy ( source : this) : this;
1820}
You can’t perform that action at this time.
0 commit comments