parameters: (self, t=0.5, finishIval=None, blendType='noBlend')
return_statement: return fut
docstring: Play a fade out transition over t seconds.
          Places a polygon on the aspect2d plane then lerps the color
          from transparent to full black. When the color lerp is finished,
          it leaves the fade polygon covering the aspect2d plane until you
          fadeIn or call noFade.
          lerp
docstring_summary: Play a fade out transition over t seconds.
          Places a polygon on the aspect2d plane then lerps the color
          from transparent to full black. When the color lerp is finished,
          it leaves the fade polygon covering the aspect2d plane until you
          fadeIn or call noFade.
          lerp
docstring_tokens: Play a fade out transition over t seconds . Places a polygon on the aspect2d plane then lerps the color from transparent to full black . When the color lerp is finished it leaves the fade polygon covering the aspect2d plane until you fadeIn or call noFade . lerp
function: def fadeOut(self, t=0.5, finishIval=None, blendType='noBlend'):
          """
          Play a fade out transition over t seconds.
          Places a polygon on the aspect2d plane then lerps the color
          from transparent to full black. When the color lerp is finished,
          it leaves the fade polygon covering the aspect2d plane until you
          fadeIn or call noFade.
          lerp
          """
          if t == 0:
              # Fade out immediately with no lerp
              self.noTransitions()
              self.loadFade()
  
              self.fade.reparentTo(ShowBaseGlobal.aspect2d, DGG.FADE_SORT_INDEX)
              self.fade.setColor(self.alphaOn)
          elif ConfigVariableBool('no-loading-screen', False):
              if finishIval:
                  self.transitionIval = finishIval
                  self.transitionIval.start()
          else:
              # Create a sequence that lerps the color out, then
              # parents the fade to hidden
              self.transitionIval = self.getFadeOutIval(t, finishIval, blendType)
              self.transitionIval.append(Func(self.__finishTransition))
              self.__transitionFuture = AsyncFuture()
              self.transitionIval.start()
              return self.__transitionFuture
  
          # Immediately done, so return a dummy future.
          fut = AsyncFuture()
          fut.setResult(None)
          return fut
function_tokens: def fadeOut ( self , t = 0.5 , finishIval = None , blendType = 'noBlend' ) : if t == 0 : # Fade out immediately with no lerp self . noTransitions ( ) self . loadFade ( ) self . fade . reparentTo ( ShowBaseGlobal . aspect2d , DGG . FADE_SORT_INDEX ) self . fade . setColor ( self . alphaOn ) elif ConfigVariableBool ( 'no-loading-screen' , False ) : if finishIval : self . transitionIval = finishIval self . transitionIval . start ( ) else : # Create a sequence that lerps the color out, then # parents the fade to hidden self . transitionIval = self . getFadeOutIval ( t , finishIval , blendType ) self . transitionIval . append ( Func ( self . __finishTransition ) ) self . __transitionFuture = AsyncFuture ( ) self . transitionIval . start ( ) return self . __transitionFuture # Immediately done, so return a dummy future. fut = AsyncFuture ( ) fut . setResult ( None ) return fut