pygfx.utils.enums.CoordSpace
- class pygfx.utils.enums.CoordSpace
Bases:
Enum
The CoordSpace enum specifies a coordinate space.
- model = 'model'
The space relative to the object. When the object (or a parent) is e.g. scaled with
wobject.local.scale = 2
the thing becomes bigger.
- world = 'world'
The space of the scene (the root object). Scaling or rotating of objects does not affect the thing’s size or orientation.
- screen = 'screen'
The screen space (in logical pixels). The thing’s size is not affected by zooming or scaling.