本文整理匯總了Python中toontown.hood.SkyUtil類的典型用法代碼示例。如果您正苦於以下問題:Python SkyUtil類的具體用法?Python SkyUtil怎麽用?Python SkyUtil使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
在下文中一共展示了SkyUtil類的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: startSky
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
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
def startSky(self):
if not self.sky.getTag('sky') == 'Regular':
self.endSpookySky()
SkyUtil.startCloudSky(self)
示例4: skyTrack
def skyTrack(self, task):
return SkyUtil.cloudSkyTrack(task)
示例5: startSky
def startSky(self):
if not self.sky.getTag('sky') == 'Regular':
self.endSpookySky()
SkyUtil.startCloudSky(self)
if base.cloudPlatformsEnabled:
self.loader.startCloudPlatforms()
示例6: startSky
def startSky(self):
if self.hasFog:
SkyUtil.startCloudSky(self, parent=self.dummyNode, effects=CompassEffect.PRot)
else:
SkyUtil.startCloudSky(self, parent=render)
示例7: startSky
def startSky(self):
SkyUtil.startCloudSky(self)
if base.cloudPlatformsEnabled:
self.loader.startCloudPlatforms()