Class SquaresInternal

Point object that implements the raycasting of squares in screen space.

Hierarchy

Constructors

Properties

Methods

Constructors

  • Parameters

    • Optional geometry: BufferGeometry

      An instance of BufferGeometry.

    • Optional material: Material | Material[]

      An instance of Material (optional).

    Returns Squares

Properties

enableRayTesting: boolean = true

This allows to discard the ray testing.

Methods

  • This method is similar to the original method raycast in [[THREE.Points]] except that it then calls the tailored testPoint method in the children classes to test intersections depending on whether the points are circles or squares, which [[THREE.Points]] cannot do.

    Parameters

    • raycaster: PickingRaycaster

      The raycaster.

    • intersects: Intersection[]

      The array to fill with the results.

    Returns void

Generated using TypeDoc