Skip to main content

interface.RenderStatePick

API > RenderStatePick

Interface: RenderStatePick

Pick related render state.

Properties

opacityThreshold

readonly opacityThreshold: number

The opacity/alpha minimum (inclusive) threshold at which to include a pixel in the pick output.

Remarks

A value between 0 and 1, where 0 includes all pixels no matter how transparent and 1 only includes 100% opaque pixels. The default value is 1.

Source

@novorender/core3d/state/index.ts:829