SequenceNode

from panda3d.core import SequenceNode
class SequenceNode

Bases: SelectiveChildNode, AnimInterface

A node that automatically cycles through rendering each one of its children according to its frame rate.

Inheritance diagram

Inheritance diagram of SequenceNode

__init__(name: str)
property frame_ratefloat

Changes the advertised frame rate of the SequenceNode. This can be used in conjunction with getPlayRate() 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 with getPlayRate() to change the effective frame rate of the node.