__del__ def __del__(self) Undocumented function. |
__init__ def __init__(self, loader, model=None, scale=3.0, pos=Vec3(0, 0, 0)) Undocumented function. |
fadeIn def fadeIn(self, t=0.5, finishIval=None) Play a fade in transition over t seconds. Places a polygon on the aspect2d plane then lerps the color from black to transparent. When the color lerp is finished, it parents the fade polygon to hidden. |
fadeOut def fadeOut(self, t=0.5, finishIval=None) 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 |
fadeOutActive def fadeOutActive(self) Undocumented function. |
fadeScreen def fadeScreen(self, alpha=0.5) Put a semitransparent screen over the camera plane to darken out the world. Useful for drawing attention to a dialog box for instance |
fadeScreenColor def fadeScreenColor(self, color) Put a semitransparent screen over the camera plane to darken out the world. Useful for drawing attention to a dialog box for instance |
irisIn def irisIn(self, t=0.5, finishIval=None) Play an iris in transition over t seconds. Places a polygon on the aspect2d plane then lerps the scale of the iris polygon up so it looks like we iris in. When the scale lerp is finished, it parents the iris polygon to hidden. |
irisOut def irisOut(self, t=0.5, finishIval=None) Play an iris out transition over t seconds. Places a polygon on the aspect2d plane then lerps the scale of the iris down so it looks like we iris out. When the scale lerp is finished, it leaves the iris polygon covering the aspect2d plane until you irisIn or call noIris. |
letterboxOff def letterboxOff(self, t=0.25, finishIval=None) Move black bars away over t seconds. |
letterboxOn def letterboxOn(self, t=0.25, finishIval=None) Move black bars in over t seconds. |
loadFade def loadFade(self) Undocumented function. |
loadIris def loadIris(self) Undocumented function. |
loadLetterbox def loadLetterbox(self) Undocumented function. |
noFade def noFade(self) Removes any current fade tasks and parents the fade polygon away |
noIris def noIris(self) Removes any current iris tasks and parents the iris polygon away |
noLetterbox def noLetterbox(self) Removes any current letterbox tasks and parents the letterbox polygon away |
noTransitions def noTransitions(self) This call should immediately remove any and all transitions running |
setFadeColor def setFadeColor(self, r, g, b) Undocumented function. |
setFadeModel def setFadeModel(self, model, scale=1.0) Undocumented function. |