Intermact API Reference / @intermact/core / IntermactPointerEvent
Interface: IntermactPointerEvent
Defined in: packages/core/src/interaction/types.ts:10
A pointer event enriched with three coordinate spaces (design.md §12.2).
Extended by
Properties
originalEvent?
readonlyoptionaloriginalEvent?:unknown
Defined in: packages/core/src/interaction/types.ts:18
sceneAbs
readonlysceneAbs:AbsXY
Defined in: packages/core/src/interaction/types.ts:14
Scene world coordinates (already un-projected).
sceneRel
readonlysceneRel:RelUV
Defined in: packages/core/src/interaction/types.ts:16
Normalized [0,1] coordinates within the viewport.
screen
readonlyscreen:Vec2
Defined in: packages/core/src/interaction/types.ts:12
Pixel coordinates within the canvas.
targetId?
readonlyoptionaltargetId?:string
Defined in: packages/core/src/interaction/types.ts:17