Skip to content

Interface: PickResult

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

拾取命中结果:命中节点 / 面组、世界坐标命中点与法向、到相机的距离。

Properties

distance

readonly distance: number

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


faceGroupId

readonly faceGroupId: FaceGroupId | null

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


nodeId

readonly nodeId: NodeId

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


worldNormal

readonly worldNormal: Vec3

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


worldPoint

readonly worldPoint: Vec3

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