Panda3D
|
Classes | |
class | DirectCameraControl |
Functions | |
def | centerCam (self) |
def | centerCamIn (self, t) |
def | centerCamNow (self) |
def | computeCOA (self, entry) |
def | disableMouseFly (self) |
def | enableMouseFly (self, fKeyEvents=1) |
def | fitOnWidget (self, nodePath='None Given') |
def | homeCam (self) |
def | HPanYZoomTask (self, state) |
def | HPPanTask (self, state) |
def | lockCOA (self) |
def | mouseDollyStart (self, modifiers) |
def | mouseDollyStop (self) |
def | mouseFlyStart (self, modifiers) |
def | mouseFlyStartTopWin (self) |
def | mouseFlyStop (self) |
def | mouseFlyStopTopWin (self) |
def | mouseRollTask (self, state) |
def | mouseRotateStart (self, modifiers) |
if base.direct.cameraControl.coaMarker.isHidden(): base.direct.cameraControl.coaMarker.show() else: base.direct.cameraControl.coaMarker.hide() More... | |
def | mouseRotateTask (self, state) |
def | moveToFit (self) |
def | orbitUprightCam (self) |
def | OrthoTranslateTask (self, state) |
def | OrthoZoomTask (self, state) |
def | pickNextCOA (self) |
def | removeManipulateCameraTask (self) |
def | reparentCam (self, parent) |
def | spawnHPanYZoom (self) |
def | spawnHPPan (self) |
def | spawnMouseRollTask (self) |
def | spawnMouseRotateTask (self) |
def | spawnMoveToView (self, view) |
def | spawnOrthoTranslate (self) |
def | spawnOrthoZoom (self) |
def | spawnXZTranslate (self) |
def | spawnXZTranslateOrHPanYZoom (self) |
def | spawnXZTranslateOrHPPan (self) |
def | stickToWidgetTask (self, state) |
def | swingCamAboutWidget (self, degrees, t) |
def | toggleCOALock (self) |
def | toggleMarkerVis (self) |
def | unlockCOA (self) |
def | updateCoa (self, ref2point, coaDist=None, ref=None) |
def | updateCoaMarkerSize (self, coaDist=None) |
def | updateCoaMarkerSizeOnDeath (self) |
def | uprightCam (self) |
def | XZTranslateOrHPanYZoomTask (self, state) |
def | XZTranslateOrHPPanTask (self, state) |
def | XZTranslateTask (self, state) |
def | zoomCam (self, zoomFactor, t) |
Variables | |
altDown | |
float | CAM_MOVE_DURATION = 1.2 |
float | COA_MARKER_SF = 0.0075 |
coaMarkerColorIval | |
coaMarkerPos | |
cqEntries | |
No reason this shouldn't work with Maya cam on if not self.useMayaCamControls and (deltaT <= 0.25) or (deltaF <= 1): More... | |
fLockCOA | |
keyEvents | |
self.keyEvents = [ ['c', self.centerCamIn, 0.5], ['f', self.fitOnWidget], # Note: This function doesn't work as intended ['h', self.homeCam], ['shift-v', self.toggleMarkerVis], ['m', self.moveToFit], # Note: This function doesn't work as intended; the object dissappears and screen flashes ['n', self.pickNextCOA], ['u', self.orbitUprightCam], ['shift-u', self.uprightCam], [repr(1), self.spawnMoveToView, 1], [repr(2), self.spawnMoveToView, 2], [repr(3), self.spawnMoveToView, 3], [repr(4), self.spawnMoveToView, 4], [repr(5), self.spawnMoveToView, 5], [repr(6), self.spawnMoveToView, 6], [repr(7), self.spawnMoveToView, 7], [repr(8), self.spawnMoveToView, 8], ['9', self.swingCamAboutWidget, -90.0, t], ['0', self.swingCamAboutWidget, 90.0, t], ['`', self.removeManipulateCameraTask], ['=', self.zoomCam, 0.5, t], ['+', self.zoomCam, 0.5, t], ['-', self.zoomCam, -2.0, t], ['_', self.zoomCam, -2.0, t], ] More... | |
lastView | |
lockRoll | |
manipulateCameraInterval | |
manipulateCameraTask | |
nullHitPointCount | |
orthoViewRoll | |
perspCollPlane | |
perspCollPlane2 | |
startF | |
startT | |
useMayaCamControls | |
Y_AXIS = Vec3(0, 1, 0) | |
def direct.directtools.DirectCameraControl.centerCam | ( | self | ) |
def direct.directtools.DirectCameraControl.centerCamIn | ( | self, | |
t | |||
) |
def direct.directtools.DirectCameraControl.centerCamNow | ( | self | ) |
def direct.directtools.DirectCameraControl.computeCOA | ( | self, | |
entry | |||
) |
def direct.directtools.DirectCameraControl.disableMouseFly | ( | self | ) |
def direct.directtools.DirectCameraControl.enableMouseFly | ( | self, | |
fKeyEvents = 1 |
|||
) |
def direct.directtools.DirectCameraControl.fitOnWidget | ( | self, | |
nodePath = 'None Given' |
|||
) |
def direct.directtools.DirectCameraControl.homeCam | ( | self | ) |
def direct.directtools.DirectCameraControl.HPanYZoomTask | ( | self, | |
state | |||
) |
def direct.directtools.DirectCameraControl.HPPanTask | ( | self, | |
state | |||
) |
def direct.directtools.DirectCameraControl.lockCOA | ( | self | ) |
def direct.directtools.DirectCameraControl.mouseDollyStart | ( | self, | |
modifiers | |||
) |
def direct.directtools.DirectCameraControl.mouseDollyStop | ( | self | ) |
def direct.directtools.DirectCameraControl.mouseFlyStart | ( | self, | |
modifiers | |||
) |
def direct.directtools.DirectCameraControl.mouseFlyStartTopWin | ( | self | ) |
def direct.directtools.DirectCameraControl.mouseFlyStop | ( | self | ) |
def direct.directtools.DirectCameraControl.mouseFlyStopTopWin | ( | self | ) |
def direct.directtools.DirectCameraControl.mouseRollTask | ( | self, | |
state | |||
) |
def direct.directtools.DirectCameraControl.mouseRotateStart | ( | self, | |
modifiers | |||
) |
if base.direct.cameraControl.coaMarker.isHidden(): base.direct.cameraControl.coaMarker.show() else: base.direct.cameraControl.coaMarker.hide()
def direct.directtools.DirectCameraControl.mouseRotateTask | ( | self, | |
state | |||
) |
def direct.directtools.DirectCameraControl.moveToFit | ( | self | ) |
def direct.directtools.DirectCameraControl.orbitUprightCam | ( | self | ) |
def direct.directtools.DirectCameraControl.OrthoTranslateTask | ( | self, | |
state | |||
) |
def direct.directtools.DirectCameraControl.OrthoZoomTask | ( | self, | |
state | |||
) |
def direct.directtools.DirectCameraControl.pickNextCOA | ( | self | ) |
Cycle through collision handler entries
def direct.directtools.DirectCameraControl.removeManipulateCameraTask | ( | self | ) |
def direct.directtools.DirectCameraControl.reparentCam | ( | self, | |
parent | |||
) |
def direct.directtools.DirectCameraControl.spawnHPanYZoom | ( | self | ) |
def direct.directtools.DirectCameraControl.spawnHPPan | ( | self | ) |
def direct.directtools.DirectCameraControl.spawnMouseRollTask | ( | self | ) |
def direct.directtools.DirectCameraControl.spawnMouseRotateTask | ( | self | ) |
def direct.directtools.DirectCameraControl.spawnMoveToView | ( | self, | |
view | |||
) |
def direct.directtools.DirectCameraControl.spawnOrthoTranslate | ( | self | ) |
def direct.directtools.DirectCameraControl.spawnOrthoZoom | ( | self | ) |
def direct.directtools.DirectCameraControl.spawnXZTranslate | ( | self | ) |
def direct.directtools.DirectCameraControl.spawnXZTranslateOrHPanYZoom | ( | self | ) |
def direct.directtools.DirectCameraControl.spawnXZTranslateOrHPPan | ( | self | ) |
def direct.directtools.DirectCameraControl.stickToWidgetTask | ( | self, | |
state | |||
) |
def direct.directtools.DirectCameraControl.swingCamAboutWidget | ( | self, | |
degrees, | |||
t | |||
) |
def direct.directtools.DirectCameraControl.toggleCOALock | ( | self | ) |
def direct.directtools.DirectCameraControl.toggleMarkerVis | ( | self | ) |
def direct.directtools.DirectCameraControl.unlockCOA | ( | self | ) |
def direct.directtools.DirectCameraControl.updateCoa | ( | self, | |
ref2point, | |||
coaDist = None , |
|||
ref = None |
|||
) |
def direct.directtools.DirectCameraControl.updateCoaMarkerSize | ( | self, | |
coaDist = None |
|||
) |
def direct.directtools.DirectCameraControl.updateCoaMarkerSizeOnDeath | ( | self | ) |
def direct.directtools.DirectCameraControl.uprightCam | ( | self | ) |
def direct.directtools.DirectCameraControl.XZTranslateOrHPanYZoomTask | ( | self, | |
state | |||
) |
def direct.directtools.DirectCameraControl.XZTranslateOrHPPanTask | ( | self, | |
state | |||
) |
def direct.directtools.DirectCameraControl.XZTranslateTask | ( | self, | |
state | |||
) |
def direct.directtools.DirectCameraControl.zoomCam | ( | self, | |
zoomFactor, | |||
t | |||
) |
altDown |
float CAM_MOVE_DURATION = 1.2 |
float COA_MARKER_SF = 0.0075 |
coaMarkerColorIval |
coaMarkerPos |
cqEntries |
No reason this shouldn't work with Maya cam on if not self.useMayaCamControls and (deltaT <= 0.25) or (deltaF <= 1):
fLockCOA |
keyEvents |
self.keyEvents = [ ['c', self.centerCamIn, 0.5], ['f', self.fitOnWidget], # Note: This function doesn't work as intended ['h', self.homeCam], ['shift-v', self.toggleMarkerVis], ['m', self.moveToFit], # Note: This function doesn't work as intended; the object dissappears and screen flashes ['n', self.pickNextCOA], ['u', self.orbitUprightCam], ['shift-u', self.uprightCam], [repr(1), self.spawnMoveToView, 1], [repr(2), self.spawnMoveToView, 2], [repr(3), self.spawnMoveToView, 3], [repr(4), self.spawnMoveToView, 4], [repr(5), self.spawnMoveToView, 5], [repr(6), self.spawnMoveToView, 6], [repr(7), self.spawnMoveToView, 7], [repr(8), self.spawnMoveToView, 8], ['9', self.swingCamAboutWidget, -90.0, t], ['0', self.swingCamAboutWidget, 90.0, t], ['`', self.removeManipulateCameraTask], ['=', self.zoomCam, 0.5, t], ['+', self.zoomCam, 0.5, t], ['-', self.zoomCam, -2.0, t], ['_', self.zoomCam, -2.0, t], ]
lastView |
lockRoll |
manipulateCameraInterval |
manipulateCameraTask |
nullHitPointCount |
orthoViewRoll |
perspCollPlane |
perspCollPlane2 |
startF |
startT |
useMayaCamControls |
Y_AXIS = Vec3(0, 1, 0) |