Skip to main content

interface.PickSample

API > PickSample

Interface: PickSample

Pick Sample information

Extended By

Properties

clippingOutline

readonly clippingOutline: boolean

The picked pixel is part of clipping outline

Source

@novorender/core3d/context.ts:1136


depth

readonly depth: number

The depth/distance from the view plane.

Source

@novorender/core3d/context.ts:1134


deviation

deviation?: number

The spatial deviation of underlying pixel, if any.

Remarks

This only applies to point clouds with precomputed deviation data.

Source

@novorender/core3d/context.ts:1132


normal

readonly normal: ReadonlyVec3

World space normal of underlying pixel.

Source

@novorender/core3d/context.ts:1126


objectId

readonly objectId: number

The object id/index of underlying pixel.

Source

@novorender/core3d/context.ts:1128


position

readonly position: ReadonlyVec3

World space position of underlying pixel.

Source

@novorender/core3d/context.ts:1124


x

readonly x: number

relative x pixel offset (not css pixel) from pick center.

Source

@novorender/core3d/context.ts:1120


y

readonly y: number

relative y pixel offset (not css pixel) from pick center.

Source

@novorender/core3d/context.ts:1122