Skip to main content

interface.DeviationSample

API > DeviationSample

Interface: DeviationSample

Deviation sampled from screen

Properties

depth

readonly depth: number

The depth/distance from the view plane.

Source

@novorender/core3d/context.ts:1112


deviation

readonly deviation: number

The spatial deviation of underlying pixel.

Remarks

This only applies to point clouds with precomputed deviation data.

Source

@novorender/core3d/context.ts:1110


position

readonly position: ReadonlyVec3

World space position of underlying pixel.

Source

@novorender/core3d/context.ts:1106


x

readonly x: number

x coordinate in pixel space

Source

@novorender/core3d/context.ts:1102


y

readonly y: number

y coordinate in pixel space

Source

@novorender/core3d/context.ts:1104