Skip to content

Interface: InterceptedPick ​

Defined in: packages/viewer-core/src/public/types.ts:207

交给 selection.setPickIntercept() 拦截器的一次拾取。

与 entity-pick 的差别在于 worldPoint / worldNormal 可为 null:它们只来自最近的 实体面命中,而轮廓边(背后没有实体面)拿不到——entity-pick 在这种情况下压根不发, 拦截通道则照发,由拦截方自己兜底(如用点击射线与边直线的公垂足)。

Properties ​

item ​

readonly item: SelectionItem

Defined in: packages/viewer-core/src/public/types.ts:208


worldNormal ​

readonly worldNormal: Vec3 | null

Defined in: packages/viewer-core/src/public/types.ts:210


worldPoint ​

readonly worldPoint: Vec3 | null

Defined in: packages/viewer-core/src/public/types.ts:209