Panda3D
|
Classes | |
class | Viewport |
class | ViewportManager |
Functions | |
def | Close (self) |
self.accept("wheel_down", self.zoomOut) self.accept("wheel_up", self.zoomIn) self.accept("page_down", self.zoomOut) self.accept("page_down-repeat", self.zoomOut) self.accept("page_up", self.zoomIn) self.accept("page_up-repeat", self.zoomIn) self.accept("mouse3", self.onRightDown) More... | |
def | onRightDown (self, evt=None) |
def | onSize (self, evt) |
def | zoomIn (self) |
def | zoomOut (self) |
Variables | |
int | CREATENEW = 99 |
HORIZONTAL = wx.SPLIT_HORIZONTAL | |
VERTICAL = wx.SPLIT_VERTICAL | |
int | VPFRONT = 11 |
int | VPLEFT = 10 |
int | VPPERSPECTIVE = 13 |
int | VPTOP = 12 |
Contains classes useful for 3D viewports. Originally written by pro-rsoft, Modified by gjeon. Modified by Summer 2010 Carnegie Mellon University ETC PandaLE team: fixed a bug in Viewport.Close
def direct.wxwidgets.ViewPort.Close | ( | self | ) |
self.accept("wheel_down", self.zoomOut) self.accept("wheel_up", self.zoomIn) self.accept("page_down", self.zoomOut) self.accept("page_down-repeat", self.zoomOut) self.accept("page_up", self.zoomIn) self.accept("page_up-repeat", self.zoomIn) self.accept("mouse3", self.onRightDown)
Closes the viewport.
def direct.wxwidgets.ViewPort.onRightDown | ( | self, | |
evt = None |
|||
) |
Invoked when the viewport is right-clicked.
def direct.wxwidgets.ViewPort.onSize | ( | self, | |
evt | |||
) |
Invoked when the viewport is resized.
def direct.wxwidgets.ViewPort.zoomIn | ( | self | ) |
def direct.wxwidgets.ViewPort.zoomOut | ( | self | ) |
int CREATENEW = 99 |
HORIZONTAL = wx.SPLIT_HORIZONTAL |
VERTICAL = wx.SPLIT_VERTICAL |
int VPFRONT = 11 |
int VPLEFT = 10 |
int VPPERSPECTIVE = 13 |
int VPTOP = 12 |