|
Panda3D
|
Public Member Functions | |
| __init__ (self, parent, editor) | |
| DoLayout (self) | |
| OnChooseCurve (self, evt) | |
| OnChooseNode (self, evt) | |
| OnCreateAnim (self, evt) | |
| OnExit (self, evt) | |
| OnSaveAnim (self, evt) | |
| SetProperties (self) | |
Public Attributes | |
| chooseCurve = wx.StaticText( self.mainPanel, -1, "Choose attch Curve:") | |
| chooseCurveButton = wx.Button( self.mainPanel, -1, "Choose..") | |
| chooseCurveTxt = wx.TextCtrl( self.mainPanel, -1, "") | |
| chooseNode = wx.StaticText( self.mainPanel, -1, "Choose NodePath:") | |
| chooseNodeButton = wx.Button( self.mainPanel, -1, "Choose..") | |
| chooseNodeTxt = wx.TextCtrl( self.mainPanel, -1, "") | |
| createAnimButton = wx.Button( self.mainPanel, -1, "Creat") | |
| curve = None | |
| curveSequence = self.editor.animMgr.singleCurveAnimation(self.nodePath, self.curve, self.time) | |
| duritionTime = wx.StaticText( self.mainPanel, -1, "Durition(Frame):") | |
| duritionTimeSpin = wx.SpinCtrl( self.mainPanel, -1, "",size = (70,25), min=24, max=10000) | |
| editor = editor | |
| mainPanel = wx.Panel(self, -1) | |
| nodePath = None | |
| OnChooseCurve | |
| OnChooseNode | |
| OnCreateAnim | |
| OnExit | |
| OnSaveAnim | |
| saveAnimButton = wx.Button( self.mainPanel, -1, "Save Animation") | |
| time = self.duritionTimeSpin.GetValue() | |
This is the Curve Animation Panel implementation.
| __init__ | ( | self, | |
| parent, | |||
| editor ) |
| DoLayout | ( | self | ) |
| OnChooseCurve | ( | self, | |
| evt ) |
| OnChooseNode | ( | self, | |
| evt ) |
| OnCreateAnim | ( | self, | |
| evt ) |
| OnExit | ( | self, | |
| evt ) |
| OnSaveAnim | ( | self, | |
| evt ) |
| SetProperties | ( | self | ) |
| chooseCurve = wx.StaticText( self.mainPanel, -1, "Choose attch Curve:") |
| chooseCurveButton = wx.Button( self.mainPanel, -1, "Choose..") |
| chooseCurveTxt = wx.TextCtrl( self.mainPanel, -1, "") |
| chooseNode = wx.StaticText( self.mainPanel, -1, "Choose NodePath:") |
| chooseNodeButton = wx.Button( self.mainPanel, -1, "Choose..") |
| chooseNodeTxt = wx.TextCtrl( self.mainPanel, -1, "") |
| createAnimButton = wx.Button( self.mainPanel, -1, "Creat") |
| curve = None |
| curveSequence = self.editor.animMgr.singleCurveAnimation(self.nodePath, self.curve, self.time) |
| duritionTime = wx.StaticText( self.mainPanel, -1, "Durition(Frame):") |
| duritionTimeSpin = wx.SpinCtrl( self.mainPanel, -1, "",size = (70,25), min=24, max=10000) |
| editor = editor |
| mainPanel = wx.Panel(self, -1) |
| nodePath = None |
| OnChooseCurve |
| OnChooseNode |
| OnCreateAnim |
| OnExit |
| OnSaveAnim |
| saveAnimButton = wx.Button( self.mainPanel, -1, "Save Animation") |
| time = self.duritionTimeSpin.GetValue() |