本文整理匯總了Python中toontown.hood.SkyUtil.startCloudSky方法的典型用法代碼示例。如果您正苦於以下問題:Python SkyUtil.startCloudSky方法的具體用法?Python SkyUtil.startCloudSky怎麽用?Python SkyUtil.startCloudSky使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類toontown.hood.SkyUtil
的用法示例。
在下文中一共展示了SkyUtil.startCloudSky方法的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: startSky
# 需要導入模塊: from toontown.hood import SkyUtil [as 別名]
# 或者: from toontown.hood.SkyUtil import startCloudSky [as 別名]
def startSky(self):
self.sky.setTransparency(TransparencyAttrib.MDual, 1)
self.sky.setScale(1.2)
base.camLens.setFar(1024)
self.notify.debug('The sky is: %s' % self.sky)
if not self.sky.getTag('sky') == 'Regular':
self.endSpookySky()
SkyUtil.startCloudSky(self)
示例2: enter
# 需要導入模塊: from toontown.hood import SkyUtil [as 別名]
# 或者: from toontown.hood.SkyUtil import startCloudSky [as 別名]
def enter(self):
base.cam.setPos(-50,-27,6.5)
base.cam.setHpr(0,4,0)
SkyUtil.startCloudSky(self)
self.patNode.unstash()
self.pat2dNode.unstash()
self.__updateMainButton()
self.__updateFunction()
示例3: startSky
# 需要導入模塊: from toontown.hood import SkyUtil [as 別名]
# 或者: from toontown.hood.SkyUtil import startCloudSky [as 別名]
def startSky(self):
if not self.sky.getTag('sky') == 'Regular':
self.endSpookySky()
SkyUtil.startCloudSky(self)
示例4: startSky
# 需要導入模塊: from toontown.hood import SkyUtil [as 別名]
# 或者: from toontown.hood.SkyUtil import startCloudSky [as 別名]
def startSky(self):
if not self.sky.getTag('sky') == 'Regular':
self.endSpookySky()
SkyUtil.startCloudSky(self)
if base.cloudPlatformsEnabled:
self.loader.startCloudPlatforms()
示例5: startSky
# 需要導入模塊: from toontown.hood import SkyUtil [as 別名]
# 或者: from toontown.hood.SkyUtil import startCloudSky [as 別名]
def startSky(self):
if self.hasFog:
SkyUtil.startCloudSky(self, parent=self.dummyNode, effects=CompassEffect.PRot)
else:
SkyUtil.startCloudSky(self, parent=render)
示例6: startSky
# 需要導入模塊: from toontown.hood import SkyUtil [as 別名]
# 或者: from toontown.hood.SkyUtil import startCloudSky [as 別名]
def startSky(self):
SkyUtil.startCloudSky(self)
if base.cloudPlatformsEnabled:
self.loader.startCloudPlatforms()