Interface: HitSurfaceOptions
Defined in: src/interaction/HitRegistry.ts:3
Properties
containsPoint()?
optionalcontainsPoint: (point,padding?) =>boolean
Defined in: src/interaction/HitRegistry.ts:5
Additional clipping or containment policy, evaluated in world space.
Parameters
point
padding?
number
Returns
boolean
touchTarget()?
optionaltouchTarget: (point) =>Object3D<Object3DEventMap> |undefined
Defined in: src/interaction/HitRegistry.ts:13
Direct touch only. Returns an object that should receive a touch at the
world-space point instead of this surface, such as a resize corner of a
card edge, or undefined to keep this surface. The returned object must be
registered with its own hit surface, which supplies its logical target
and manipulation handle; an unregistered object resolves as itself.
Parameters
point
Returns
Object3D<Object3DEventMap> | undefined