Skip to content

Interface: PickablePrimitive ​

Experimental

A primitive with its own pick shader path (e.g. MarkerSet): object is drawn with the material from createPickMaterial, and gets pickCount ids (one per instance).

Properties ​

PropertyModifierTypeDescription
objectreadonlyMeshExperimental
pickCountreadonlynumberExperimental Number of ids the pick material may write (e.g. drawn instances).
pickKindreadonlyPickElementKindExperimental What a pick id offset counts (e.g. 'point' for markers).

Methods ​

createPickMaterial() ​

ts
createPickMaterial(): PickMaterialHandle;

Experimental

Returns ​

PickMaterialHandle

Released under the MIT License.