Skip to main content

@novorender/api / DeviationSample

Interface: DeviationSample

Defined in: @novorender/src/core3d/context.ts:1672

Deviation sampled from screen

Properties

depth

readonly depth: number;

Defined in: @novorender/src/core3d/context.ts:1684

The depth/distance from the view plane.


deviation

readonly deviation: number;

Defined in: @novorender/src/core3d/context.ts:1682

The spatial deviation of underlying pixel.

Remarks

This only applies to point clouds with precomputed deviation data.


position

readonly position: ReadonlyVec3;

Defined in: @novorender/src/core3d/context.ts:1678

World space position of underlying pixel.


x

readonly x: number;

Defined in: @novorender/src/core3d/context.ts:1674

x coordinate in pixel space


y

readonly y: number;

Defined in: @novorender/src/core3d/context.ts:1676

y coordinate in pixel space