Classes | |
class | DummyAcceptor |
Functions | |
def | caughtIt |
def | handleWaterDone |
def | printArguments |
def | printDone |
def | printPreviousEnd |
def | printPreviousStart |
def | printStart |
def | printTrackStart |
def | test |
Variables | |
list | __all__ = [] |
tuple | boat = loader.loadModel('models/misc/smiley') |
tuple | BOAT_END = boatTrack.getIntervalEndTime('boatpath') |
tuple | BOAT_START = boatTrack.getIntervalStartTime('boatpath') |
tuple | boatMopath = MopathInterval(mp, boat, 'boatpath') |
tuple | boatTrack = Track([boatMopath], 'boattrack') |
tuple | dock = loader.loadModel('models/misc/smiley') |
tuple | dockLerp |
tuple | dockLerp2 = LerpHprInterval(dock, 3.0, hpr2, name='hpr-lerp') |
tuple | dockPos = PosHprInterval(dock, dock.getPos(), dock.getHpr(), 1.0, 'dockpos') |
tuple | dockTrack = Track([dockLerp2, dockPos, dockLerp], 'docktrack') |
tuple | dockUpTime = BOAT_END-dockLerp.getDuration() |
tuple | donald = Actor() |
tuple | donaldLoopInterval = ActorInterval(donald, 'steer', loop=1, duration = 10.0) |
tuple | donaldSteerInterval = ActorInterval(donald, 'steer') |
tuple | donaldSteerTrack |
tuple | eventTime = soundTrack.getIntervalEndTime('watersound') |
tuple | foghorn = loader.loadSfx('phase_6/audio/sfx/SZ_DD_foghorn.mp3') |
tuple | foghornSound = SoundInterval(foghorn, name='foghorn') |
float | foghornStartTime = BOAT_START+4.0 |
tuple | hpr2 = Vec3(90.0, 90.0, 90.0) |
tuple | i1 = FunctionInterval(lambda: base.transitions.fadeOut()) |
Using lambdas and functions ### Using a lambda. More... | |
tuple | i2 = FunctionInterval(lambda: base.transitions.fadeIn()) |
tuple | i3 = AcceptInterval(da, 'here-is-an-event', caughtIt) |
tuple | i4 = EventInterval('here-is-an-event') |
tuple | i5 = IgnoreInterval(da, 'here-is-an-event') |
tuple | i6 = FunctionInterval(printDone) |
tuple | i7 = FunctionInterval(printArguments, extraArgs = [1, 10, 100]) |
tuple | mp = Mopath.Mopath() |
tuple | mtrack |
tuple | sound = loader.loadSfx('phase_6/audio/sfx/SZ_DD_waterlap.mp3') |
tuple | soundTrack = Track([waterSound], 'soundtrack') |
tuple | soundTrack2 = Track([(foghornStartTime, foghornSound)], 'soundtrack2') |
float | startTime = 0.0 |
Specifying interval start times during track construction ### Interval start time can be specified relative to three different points: PREVIOUS_END PREVIOUS_START TRACK_START. More... | |
tuple | t1 |
tuple | t2 |
tuple | waterDone = EventInterval('water-is-done') |
tuple | waterEventTrack = Track([waterDone]) |
tuple | waterSound = SoundInterval(sound, name='watersound') |
float | waterStartTime = BOAT_START+5.0 |
Undocumented Module
def direct.interval.IntervalTest.caughtIt | ( | ) |
def direct.interval.IntervalTest.handleWaterDone | ( | ) |
def direct.interval.IntervalTest.printArguments | ( | a, | |
b, | |||
c | |||
) |
def direct.interval.IntervalTest.printDone | ( | ) |
def direct.interval.IntervalTest.printPreviousEnd | ( | ) |
def direct.interval.IntervalTest.printPreviousStart | ( | ) |
def direct.interval.IntervalTest.printStart | ( | ) |
def direct.interval.IntervalTest.printTrackStart | ( | ) |
def direct.interval.IntervalTest.test | ( | n | ) |
list __all__ = [] |
tuple boat = loader.loadModel('models/misc/smiley') |
tuple BOAT_END = boatTrack.getIntervalEndTime('boatpath') |
tuple BOAT_START = boatTrack.getIntervalStartTime('boatpath') |
tuple boatMopath = MopathInterval(mp, boat, 'boatpath') |
tuple boatTrack = Track([boatMopath], 'boattrack') |
tuple dock = loader.loadModel('models/misc/smiley') |
tuple dockLerp |
tuple dockLerp2 = LerpHprInterval(dock, 3.0, hpr2, name='hpr-lerp') |
tuple dockPos = PosHprInterval(dock, dock.getPos(), dock.getHpr(), 1.0, 'dockpos') |
tuple dockUpTime = BOAT_END-dockLerp.getDuration() |
tuple donald = Actor() |
tuple donaldLoopInterval = ActorInterval(donald, 'steer', loop=1, duration = 10.0) |
tuple donaldSteerInterval = ActorInterval(donald, 'steer') |
tuple donaldSteerTrack |
tuple eventTime = soundTrack.getIntervalEndTime('watersound') |
tuple foghorn = loader.loadSfx('phase_6/audio/sfx/SZ_DD_foghorn.mp3') |
tuple foghornSound = SoundInterval(foghorn, name='foghorn') |
float foghornStartTime = BOAT_START+4.0 |
tuple hpr2 = Vec3(90.0, 90.0, 90.0) |
tuple i1 = FunctionInterval(lambda: base.transitions.fadeOut()) |
Using lambdas and functions ### Using a lambda.
tuple i2 = FunctionInterval(lambda: base.transitions.fadeIn()) |
tuple i3 = AcceptInterval(da, 'here-is-an-event', caughtIt) |
tuple i4 = EventInterval('here-is-an-event') |
tuple i5 = IgnoreInterval(da, 'here-is-an-event') |
tuple i6 = FunctionInterval(printDone) |
tuple i7 = FunctionInterval(printArguments, extraArgs = [1, 10, 100]) |
tuple mp = Mopath.Mopath() |
tuple mtrack |
tuple sound = loader.loadSfx('phase_6/audio/sfx/SZ_DD_waterlap.mp3') |
tuple soundTrack = Track([waterSound], 'soundtrack') |
tuple soundTrack2 = Track([(foghornStartTime, foghornSound)], 'soundtrack2') |
float startTime = 0.0 |
Specifying interval start times during track construction ### Interval start time can be specified relative to three different points: PREVIOUS_END PREVIOUS_START TRACK_START.
tuple t1 |
tuple t2 |
tuple waterDone = EventInterval('water-is-done') |
tuple waterSound = SoundInterval(sound, name='watersound') |
float waterStartTime = BOAT_START+5.0 |