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 withget_play_rate()
to change the effective frame rate of the node.
- static get_class_type() TypeHandle
- get_num_frames() 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).
- set_frame_rate(frame_rate: float)
Changes the advertised frame rate of the
SequenceNode
. This can be used in conjunction withget_play_rate()
to change the effective frame rate of the node.