Type Alias: PickingUniforms
PickingUniforms =
object
Defined in: modules/engine/picking/picking.ts:35
Uniforms for the picking module, which renders picking colors and highlighted item. When active, renders picking colors, assumed to be rendered to off-screen "picking" buffer. When inactive, renders normal colors, with the exception of selected object which is rendered with highlight
Properties
highlightColor?
optionalhighlightColor?:NumberArray4
Defined in: modules/engine/picking/picking.ts:50
Color of visual highlight of "selected" item
highlightedObjectColor?
optionalhighlightedObjectColor?:NumberArray3
Defined in: modules/engine/picking/picking.ts:48
Set to a picking color to visually highlight that item
isActive?
optionalisActive?:boolean
Defined in: modules/engine/picking/picking.ts:40
When true, renders picking colors. Set when rendering to off-screen "picking" buffer. When false, renders normal colors, with the exception of selected object which is rendered with highlight
isAttribute?
optionalisAttribute?:boolean
Defined in: modules/engine/picking/picking.ts:42
Set to true when picking an attribute value instead of object index
isHighlightActive?
optionalisHighlightActive?:boolean
Defined in: modules/engine/picking/picking.ts:46
Do we have a highlighted item?
useByteColors?
optionaluseByteColors?:boolean
Defined in: modules/engine/picking/picking.ts:44
Interpret highlight colors as byte-style 0-255 values.