@novorender/web_app / PickSampleExt
Interface: PickSampleExt
Extended pick sample information.
Extends
Properties
clippingOutline
readonly clippingOutline: boolean;
The picked pixel is part of clipping outline
Inherited from
Defined in
@novorender/core3d/context.ts:1259
depth
readonly depth: number;
The depth/distance from the view plane.
Inherited from
Defined in
@novorender/core3d/context.ts:1257
normal
readonly normal: ReadonlyVec3;
World space normal of underlying pixel.
Inherited from
Defined in
@novorender/core3d/context.ts:1251
normalVS
readonly normalVS: ReadonlyVec3;
Sample normal, in view space.
Defined in
@novorender/web_app/view.ts:1231
objectId
readonly objectId: number;
The object id/index of underlying pixel.
Inherited from
Defined in
@novorender/core3d/context.ts:1253
pointFactor?
readonly optional pointFactor: number;
The value of the currently selected point visualization of the underlying pixel, if any.
Inherited from
Defined in
@novorender/core3d/context.ts:1255
position
readonly position: ReadonlyVec3;
World space position of underlying pixel.
Inherited from
Defined in
@novorender/core3d/context.ts:1249
sampleType
readonly sampleType: "surface" | "edge" | "corner";
Whether sample lies on an edge, corner or surface.
Defined in
@novorender/web_app/view.ts:1234
x
readonly x: number;
relative x pixel offset (not css pixel) from pick center.
Inherited from
Defined in
@novorender/core3d/context.ts:1245
y
readonly y: number;
relative y pixel offset (not css pixel) from pick center.