Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
PythonicEngine documentation
PythonicEngine documentation

Table of Contents

  • Modules
    • camera module
    • light module
    • main module
    • mesh module
    • model module
    • scene module
    • scene_renderer module
    • shader_program module
    • texture module
    • vao module
    • vbo module
Back to top
View this page

camera module¶

class camera.Camera(app, position=(0, 0, 4), yaw=-90, pitch=0)[source]¶

Bases: object

get_projection_matrix()[source]¶
get_view_matrix()[source]¶
move()[source]¶
rotate()[source]¶
update()[source]¶
update_camera_vectors()[source]¶

We emulate a first-person camera by rotating around the Z-axis and X-axis

Next
light module
Previous
Modules
Copyright © 2025, papadanku
Made with Sphinx and @pradyunsg's Furo
On this page
  • camera module
    • Camera
      • Camera.get_projection_matrix()
      • Camera.get_view_matrix()
      • Camera.move()
      • Camera.rotate()
      • Camera.update()
      • Camera.update_camera_vectors()