Skip to content

Intermact API Reference / @intermact/core / hitProxy

Function: hitProxy() ​

hitProxy(proxy, p, transform): boolean

Defined in: packages/core/src/interaction/hit-test.ts:58

Test a world-space point against a proxy in the object's local space.

Parameters ​

proxy ​

PickProxy

p ​

AbsXY

transform ​

ResolvedTransform2D

Returns ​

boolean

Intermact v1.0 — 文档覆盖 Phase-1 / Phase-2 / Phase-3(全阶段)