CameraContext

- class CameraContext
This class provides viewport space conversion services.
This interface is passed to the viewport events and is implemented by the application.
Methods
camera_to_world()Return the camera to world matrix of the event's viewport.
pixel_to_world(screen_pos, depth)Convert viewport pixel coordinates and depth in world space position.
projection()Return the camera projection.
resolution()Return the viewport resolution.
world_to_pixel(world_pos)Convert world space position in viewport pixel coordinates and depth.