direct.interval.FunctionInterval

from direct.interval.FunctionInterval import AcceptInterval, EventInterval, Func, FunctionInterval, HprInterval, HprScaleInterval, IgnoreInterval, ParentInterval, PosHprInterval, PosHprScaleInterval, PosInterval, ScaleInterval, Wait, WrtParentInterval

FunctionInterval module: contains the FunctionInterval class

Inheritance diagram

Inheritance diagram of direct.interval.FunctionInterval

class AcceptInterval(dirObj, event, function, name=None)[source]

Bases: FunctionInterval

__init__(dirObj, event, function, name)[source]
class EventInterval(event, sentArgs=[])[source]

Bases: FunctionInterval

__init__(event, sentArgs)[source]
class Func(*args, **kw)[source]

Bases: FunctionInterval

__init__(self, *args, **kw)[source]
class FunctionInterval(function, **kw)[source]

Bases: Interval

FunctionIntervals = <WeakKeyDictionary>
__init__(function, name=None, openEnded=1, extraArgs=[])[source]
functionIntervalNum = 1
makeUniqueName(func, suffix='')[source]
notify = <direct.directnotify.Notifier.Notifier object>
privInstant(self)[source]
replaceMethod(oldFunction, newFunction)[source]
weakref = <module 'weakref' from '/opt/hostedtoolcache/Python/3.7.15/x64/lib/python3.7/weakref.py'>
class HprInterval(nodePath, hpr, duration=0.0, name=None, other=None)[source]

Bases: FunctionInterval

__init__(nodePath, hpr, duration, name)[source]
hprIntervalNum = 1
class HprScaleInterval(nodePath, hpr, scale, duration=0.0, name=None, other=None)[source]

Bases: FunctionInterval

__init__(nodePath, hpr, scale, duration, other, name)[source]
hprScaleIntervalNum = 1
class IgnoreInterval(dirObj, event, name=None)[source]

Bases: FunctionInterval

__init__(dirObj, event, name)[source]
class ParentInterval(nodePath, parent, name=None)[source]

Bases: FunctionInterval

__init__(nodePath, parent, name)[source]
parentIntervalNum = 1
class PosHprInterval(nodePath, pos, hpr, duration=0.0, name=None, other=None)[source]

Bases: FunctionInterval

__init__(nodePath, pos, hpr, duration, name)[source]
posHprIntervalNum = 1
class PosHprScaleInterval(nodePath, pos, hpr, scale, duration=0.0, name=None, other=None)[source]

Bases: FunctionInterval

__init__(nodePath, pos, hpr, scale, duration, other, name)[source]
posHprScaleIntervalNum = 1
class PosInterval(nodePath, pos, duration=0.0, name=None, other=None)[source]

Bases: FunctionInterval

__init__(nodePath, pos, duration, name)[source]
posIntervalNum = 1
class ScaleInterval(nodePath, scale, duration=0.0, name=None, other=None)[source]

Bases: FunctionInterval

__init__(nodePath, scale, duration, name)[source]
scaleIntervalNum = 1
class Wait(duration)[source]

Bases: WaitInterval

__init__(self, duration)[source]
class WrtParentInterval(nodePath, parent, name=None)[source]

Bases: FunctionInterval

__init__(nodePath, parent, name)[source]
wrtParentIntervalNum = 1