Class RaycastSelector

An encapsuled class for THREE.Raycaster.

Demo: https://kokomi-js.vercel.app/examples/#raycastSelector

Hierarchy (view full)

Constructors

Properties

base: Base
container: Scene
emitter: Emitter<any>
raycaster: Raycaster

Methods

  • Parameters

    • targets: Object3D<Object3DEventMap>[] = ...

    Returns null | Intersection<Object3D<Object3DEventMap>>

  • Parameters

    • targets: Object3D<Object3DEventMap>[] = ...

    Returns Intersection<Object3D<Object3DEventMap>>[]

  • Parameters

    • target: Object3D<Object3DEventMap>

    Returns null | Intersection<Object3D<Object3DEventMap>>

  • Parameters

    • target: Object3D<Object3DEventMap>

    Returns null | Intersection<Object3D<Object3DEventMap>>