Skip to main content

@novorender/web_app / PickSample

Interface: PickSample

Pick Sample information

Extended by

Properties

clippingOutline

readonly clippingOutline: boolean;

The picked pixel is part of clipping outline

Defined in

@novorender/core3d/context.ts:1272


depth

readonly depth: number;

The depth/distance from the view plane.

Defined in

@novorender/core3d/context.ts:1270


normal

readonly normal: ReadonlyVec3;

World space normal of underlying pixel.

Defined in

@novorender/core3d/context.ts:1264


objectId

readonly objectId: number;

The object id/index of underlying pixel.

Defined in

@novorender/core3d/context.ts:1266


pointFactor?

readonly optional pointFactor: number;

The value of the currently selected point visualization of the underlying pixel, if any.

Defined in

@novorender/core3d/context.ts:1268


position

readonly position: ReadonlyVec3;

World space position of underlying pixel.

Defined in

@novorender/core3d/context.ts:1262


x

readonly x: number;

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

Defined in

@novorender/core3d/context.ts:1258


y

readonly y: number;

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

Defined in

@novorender/core3d/context.ts:1260