Implements

  • IRaycastOptions

Constructors

Methods

  • Parameters

    • ox: number
    • oy: number

    Returns void

  • sets one layer for raycasting (e.g. layer 4, only objects on layer 4 will then be hit)

    Parameters

    • layer: number

    Returns void

  • sets the layer.mask value directly, use setLayer if you want to set e.g. an individual layer only active. See https://threejs.org/docs/#api/en/core/Layers for more information about layers

    Parameters

    • mask: number

    Returns void

Generated using TypeDoc