fastplotlib.graphics._features.PresentFeature¶
- class PresentFeature(parent, present=True, collection_index=False)[source]¶
Toggles if the object is present in the scene, different from visible. Useful for computing bounding boxes from the Scene to only include graphics that are present.
event pick info:
key
type
description
“index”
None
not used
“new_data”
bool
new data,
True
orFalse
“collection-index”
int
the index of the graphic within the collection that triggered the event
“world_object”
pygfx.WorldObject
world object