English
IPNL_MouseEventPayload interface
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
鼠标事件数据
Signature
typescript
interface IPNL_MouseEventPayload1
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
string | (ALPHA) (Optional) 命中的图元 ID,鼠标不在任何图元上时为 | ||
(ALPHA) (Optional) 命中图元的类型,未命中时为 | |||
number | (ALPHA) 鼠标画布坐标 X(px) | ||
number | (ALPHA) 鼠标画布坐标 Y(px,向上为正) |