AnimChannelMatrixXfmTable¶
from panda3d.core import AnimChannelMatrixXfmTable
-
class
AnimChannelMatrixXfmTable
¶ Bases:
AnimChannel_ACMatrixSwitchType
An animation channel that issues a matrix each frame, read from a table such as might have been read from an egg file. The table actually consists of nine sub-tables, each representing one component of the transform: scale, rotate, translate.
Inheritance diagram
-
clearAllTables
() → None¶ Removes all the tables from the channel, and resets it to its initial state.
-
static
getClassType
() → TypeHandle¶
-
getTable
(table_id: char) → CPTA_stdfloat¶ Returns a pointer to the indicated subtable’s data, if it exists, or NULL if it does not.
-
static
isValidId
(table_id: char) → bool¶ Returns true if the given letter is one of the nine valid table id’s.
-
setTable
(table_id: char, table: CPTA_stdfloat) → None¶ Assigns the indicated table. table_id is one of ‘i’, ‘j’, ‘k’, for scale, ‘a’, ‘b’, ‘c’ for shear, ‘h’, ‘p’, ‘r’, for rotation, and ‘x’, ‘y’, ‘z’, for translation. The new table must have either zero, one, or get_num_frames() frames.
-
property
tables
→ CPTA_stdfloat¶ - Getter
Returns a pointer to the indicated subtable’s data, if it exists, or NULL if it does not.
- Setter
Assigns the indicated table. table_id is one of ‘i’, ‘j’, ‘k’, for scale, ‘a’, ‘b’, ‘c’ for shear, ‘h’, ‘p’, ‘r’, for rotation, and ‘x’, ‘y’, ‘z’, for translation. The new table must have either zero, one, or get_num_frames() frames.
-