Package populusgui :: Module CameraViews :: Class FlyingRotationCameraTask
[frames] | no frames]

Class FlyingRotationCameraTask


CameraTask for handling Mouse rotation in flying mode. No mouse-button is needed to activate the rotation and the cursor will be kept centered.

Instance Methods
 
__init__(self, base, camera, render)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Inherited from CameraTask: getName, update

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Inherited from direct.showbase.DirectObject.DirectObject: accept, acceptOnce, addTask, classTree, detectLeaks, doMethodLater, getAllAccepting, ignore, ignoreAll, isAccepting, isIgnoring, removeAllTasks, removeTask

Class Variables
  HEADING_ANGLE = 5.0
  PITCH_ANGLE = 5.0
  PITCH_MIN = -90.0
  PITCH_MAX = 45.0
Properties

Inherited from object: __class__

Method Details

__init__(self, base, camera, render)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: direct.showbase.DirectObject.DirectObject.__init__