panda3d.egg.EggAnimData

from panda3d.egg import EggAnimData
class EggAnimData

Bases: EggNode

A base class for EggSAnimData and EggXfmAnimData, which contain rows and columns of numbers.

Inheritance diagram

Inheritance diagram of EggAnimData

addData(value: float) → None

Adds a single element to the table.

assign(copy: EggAnimData) → EggAnimData
Return type

EggAnimData

clearData() → None

Removes all data and empties the table.

clearFps() → None
static getClassType() → TypeHandle
Return type

TypeHandle

getFps() → float

This is only valid if hasFps() returns true.

getSize() → int

Returns the number of elements in the table.

hasFps() → bool
quantize(quantum: float) → None

Rounds each element of the table to the nearest multiple of quantum.

setFps(type: float) → None