wecs.panda3d.camera module¶
-
class
wecs.panda3d.camera.Camera(camera: panda3d.core.NodePath = <factory>, pivot: panda3d.core.NodePath = <factory>)¶ Bases:
object
-
class
wecs.panda3d.camera.MountedCameraMode(anchor_name: str = None)¶ Bases:
object-
anchor_name= None¶
-
-
class
wecs.panda3d.camera.ObjectCentricCameraMode(height: float = 2.0, focus_height: float = 1.8, distance: float = 10.0, turning_speed: float = 60.0, heading: float = 0, pitch: float = 0, min_pitch: float = -80.0, max_pitch: float = 45.0)¶ Bases:
object-
height= 2.0¶
-
focus_height= 1.8¶
-
distance= 10.0¶
-
turning_speed= 60.0¶
-
heading= 0¶
-
pitch= 0¶
-
min_pitch= -80.0¶
-
max_pitch= 45.0¶
-
-
class
wecs.panda3d.camera.CollisionZoom(collision: panda3d.core.CollisionNode = <factory>, traverser: panda3d.core.CollisionTraverser = <factory>, queue: panda3d.core.CollisionHandlerQueue = <factory>, body_width: float = 0.5)¶ Bases:
object-
body_width= 0.5¶
-
-
class
wecs.panda3d.camera.PrepareCameras(throw_exc=False)¶ Bases:
wecs.core.System-
entity_filters= {'camera': <wecs.core.AndFilter object>, 'center': <wecs.core.AndFilter object>, 'mount': <wecs.core.AndFilter object>}¶
-
enter_filter_camera(entity)¶
-
enter_filter_mount(entity)¶
-
exit_filter_camera(entity)¶
-
update(entities_by_filter)¶ The system’s functionality that is run during an update.
- entity_by_filters
- A dictionary mapping filter names to sets of
wecs.core.entity.
-
-
class
wecs.panda3d.camera.ResetMountedCamera(throw_exc=False)¶ Bases:
wecs.core.System-
entity_filters= {'camera': <wecs.core.AndFilter object>}¶
-
update(entities_by_filter)¶ The system’s functionality that is run during an update.
- entity_by_filters
- A dictionary mapping filter names to sets of
wecs.core.entity.
-
-
class
wecs.panda3d.camera.ReorientObjectCentricCamera(throw_exc=False)¶ Bases:
wecs.core.System-
entity_filters= {'camera': <wecs.core.AndFilter object>, 'input': <wecs.core.AndFilter object>}¶
-
input_context= 'camera_movement'¶
-
update(entities_by_filter)¶ The system’s functionality that is run during an update.
- entity_by_filters
- A dictionary mapping filter names to sets of
wecs.core.entity.
-
process_input(entity, context)¶
-
-
class
wecs.panda3d.camera.CollideCamerasWithTerrain(throw_exc=False)¶ Bases:
wecs.core.System-
entity_filters= {'camera': <wecs.core.AndFilter object>}¶
-
enter_filter_camera(entity)¶
-
update(entities_by_filter)¶ The system’s functionality that is run during an update.
- entity_by_filters
- A dictionary mapping filter names to sets of
wecs.core.entity.
-