@novorender/api / PickSampleExt
Interface: PickSampleExt
Defined in: @novorender/src/web_app/view.ts:1656
Extended pick sample information.
Extends
Properties
clippingOutline
readonly clippingOutline: boolean;
Defined in: @novorender/src/core3d/context.ts:1706
The picked pixel is part of clipping outline
Inherited from
depth
readonly depth: number;
Defined in: @novorender/src/core3d/context.ts:1704
The depth/distance from the view plane.
Inherited from
normal
readonly normal: ReadonlyVec3;
Defined in: @novorender/src/core3d/context.ts:1698
World space normal of underlying pixel.
Inherited from
normalVS
readonly normalVS: ReadonlyVec3;
Defined in: @novorender/src/web_app/view.ts:1658
Sample normal, in view space.
objectId
readonly objectId: number;
Defined in: @novorender/src/core3d/context.ts:1700
The object id/index of underlying pixel.
Inherited from
pointFactor?
readonly optional pointFactor: number;
Defined in: @novorender/src/core3d/context.ts:1702
The value of the currently selected point visualization of the underlying pixel, if any.
Inherited from
position
readonly position: ReadonlyVec3;
Defined in: @novorender/src/core3d/context.ts:1696
World space position of underlying pixel.
Inherited from
sampleType
readonly sampleType: "surface" | "edge" | "corner";
Defined in: @novorender/src/web_app/view.ts:1661
Whether sample lies on an edge, corner or surface.
x
readonly x: number;
Defined in: @novorender/src/core3d/context.ts:1692
relative x pixel offset (not css pixel) from pick center.
Inherited from
y
readonly y: number;
Defined in: @novorender/src/core3d/context.ts:1694
relative y pixel offset (not css pixel) from pick center.