API

Interface IHtmlRaycastInteractionManagerOptions

interface IHtmlRaycastInteractionManagerOptions {
    backFaceCulling?: boolean;
    invertY?: boolean;
    targetElement?: HTMLElement;
}
Index
backFaceCulling?: boolean

Whether hits on back-facing geometry are ignored (default true).

invertY?: boolean

Whether the texture content is stored Y-inverted, used when mapping UVs to element pixels (default true).

targetElement?: HTMLElement

The DOM element that receives the forwarded pointer events (defaults to the texture's element).