Sprite.d.ts 607 B

12345678910111213141516171819202122
  1. import { Vector2 } from './../math/Vector2';
  2. import { Raycaster } from './../core/Raycaster';
  3. import { Object3D } from './../core/Object3D';
  4. import { Intersection } from '../core/Raycaster';
  5. import { SpriteMaterial } from '../materials/Materials';
  6. import { BufferGeometry } from '../core/BufferGeometry';
  7. export class Sprite extends Object3D {
  8. constructor( material?: SpriteMaterial );
  9. type: 'Sprite';
  10. readonly isSprite: true;
  11. geometry: BufferGeometry;
  12. material: SpriteMaterial;
  13. center: Vector2;
  14. raycast( raycaster: Raycaster, intersects: Intersection[] ): void;
  15. copy( source: this ): this;
  16. }
粤ICP备19079148号