当前位置: 首页>>代码示例>>Python>>正文


Python BaseModeLogic.delete方法代码示例

本文整理汇总了Python中suit.cf.BaseModeLogic.delete方法的典型用法代码示例。如果您正苦于以下问题:Python BaseModeLogic.delete方法的具体用法?Python BaseModeLogic.delete怎么用?Python BaseModeLogic.delete使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在suit.cf.BaseModeLogic的用法示例。


在下文中一共展示了BaseModeLogic.delete方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: delete

# 需要导入模块: from suit.cf import BaseModeLogic [as 别名]
# 或者: from suit.cf.BaseModeLogic import delete [as 别名]
 def delete(self):
     """Deletion message
     """
     BaseModeLogic.delete(self)
     
     if self.sceneNodeRect is not None:
         render_engine.SceneManager.destroySceneNode(self.sceneNodeRect)
     
     if self.material is not None:   self._destroyMaterial()
     if self.texture is not None:    self._destroyTexture()
     
     self._destroyRect()
开发者ID:Alexandra-H,项目名称:pyUI,代码行数:14,代码来源:image_viewer.py

示例2: delete

# 需要导入模块: from suit.cf import BaseModeLogic [as 别名]
# 或者: from suit.cf.BaseModeLogic import delete [as 别名]
 def delete(self):
     """Deletion message
     """
     BaseModeLogic.delete(self)
     if self.__viewer:   self.__viewer.delete()
开发者ID:Alexandra-H,项目名称:pyUI,代码行数:7,代码来源:scg_editor.py

示例3: delete

# 需要导入模块: from suit.cf import BaseModeLogic [as 别名]
# 或者: from suit.cf.BaseModeLogic import delete [as 别名]
 def delete(self):
     """Deletion message
     """
     BaseModeLogic.delete(self)
开发者ID:Alexandra-H,项目名称:pyUI,代码行数:6,代码来源:map_viewer.py

示例4: delete

# 需要导入模块: from suit.cf import BaseModeLogic [as 别名]
# 或者: from suit.cf.BaseModeLogic import delete [as 别名]
 def delete(self):
     BaseModeLogic.delete(self)
开发者ID:Alexandra-H,项目名称:pyUI,代码行数:4,代码来源:chem_viewer.py

示例5: delete

# 需要导入模块: from suit.cf import BaseModeLogic [as 别名]
# 或者: from suit.cf.BaseModeLogic import delete [as 别名]
 def delete(self):
     """Deletion message
     """
     BaseModeLogic.delete(self)
     self._destroyMaterial()
     self._destroyTexture()
开发者ID:Alexandra-H,项目名称:pyUI,代码行数:8,代码来源:scg_viewer.py


注:本文中的suit.cf.BaseModeLogic.delete方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。