SequenceNode
from panda3d.core import SequenceNode
- class SequenceNode
Bases:
Bases:
SelectiveChildNode
,AnimInterface
A node that automatically cycles through rendering each one of its children according to its frame rate.
Inheritance diagram
- property frame_rate float
Changes the advertised frame rate of the
SequenceNode
. This can be used in conjunction withgetPlayRate()
to change the effective frame rate of the node.
- static getClassType() TypeHandle
- getNumFrames() int
Returns the number of frames in the animation. This is a property of the animation and may not be directly adjusted by the user (although it may change without warning with certain kinds of animations, since this is a virtual method that may be overridden).
- setFrameRate(frame_rate: float)
Changes the advertised frame rate of the
SequenceNode
. This can be used in conjunction withgetPlayRate()
to change the effective frame rate of the node.