panda3d.core.AnimChannelScalarTable

from panda3d.core import AnimChannelScalarTable
class AnimChannelScalarTable

Bases: AnimChannel_ACScalarSwitchType

An animation channel that issues a scalar each frame, read from a table such as might have been read from an egg file.

Inheritance diagram

Inheritance diagram of AnimChannelScalarTable

__init__(parent: AnimGroup, name: str) → None
setTable(table: CPTA_stdfloat) → None

Assigns the data table.

getTable() → CPTA_stdfloat

Returns a pointer to the table’s data, if it exists, or NULL if it does not.

Return type

CPTA_stdfloat

hasTable() → bool

Returns true if the data table has been assigned.

clearTable() → None

Empties the data table.

static getClassType() → TypeHandle
Return type

TypeHandle

property table
Getter

Returns a pointer to the table’s data, if it exists, or NULL if it does not.

Setter

Assigns the data table.

Return type

CPTA_stdfloat