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

Class ThirdPersonZoomCameraTask


CameraTask for handling Mouse zoom using middle-scroll-button to determine zoom direction.

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
  ZOOM_STEP = 0.5
  MINIMAL_ZOOM_DISTANCE = 2.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__