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

Inheritance diagram of AnimChannelMatrixXfmTable

__init__(*args, **kwargs)
clearAllTables()

C++ Interface: clear_all_tables(const AnimChannelMatrixXfmTable self)

/**
  • Removes all the tables from the channel, and resets it to its initial

  • state.

*/

clearTable()

C++ Interface: clear_table(const AnimChannelMatrixXfmTable self, char table_id)

/**
  • Removes the indicated table from the definition.

*/

clear_all_tables()

C++ Interface: clear_all_tables(const AnimChannelMatrixXfmTable self)

/**
  • Removes all the tables from the channel, and resets it to its initial

  • state.

*/

clear_table()

C++ Interface: clear_table(const AnimChannelMatrixXfmTable self, char table_id)

/**
  • Removes the indicated table from the definition.

*/

getClassType()

C++ Interface: get_class_type()

getTable()

C++ Interface: get_table(AnimChannelMatrixXfmTable self, char table_id)

/**
  • Returns a pointer to the indicated subtable’s data, if it exists, or NULL

  • if it does not.

*/

get_class_type()

C++ Interface: get_class_type()

get_table()

C++ Interface: get_table(AnimChannelMatrixXfmTable self, char table_id)

/**
  • Returns a pointer to the indicated subtable’s data, if it exists, or NULL

  • if it does not.

*/

hasTable()

C++ Interface: has_table(AnimChannelMatrixXfmTable self, char table_id)

/**
  • Returns true if the indicated subtable has been assigned.

*/

has_table()

C++ Interface: has_table(AnimChannelMatrixXfmTable self, char table_id)

/**
  • Returns true if the indicated subtable has been assigned.

*/

isValidId()

C++ Interface: is_valid_id(char table_id)

/**
  • Returns true if the given letter is one of the nine valid table id’s.

*/

is_valid_id()

C++ Interface: is_valid_id(char table_id)

/**
  • Returns true if the given letter is one of the nine valid table id’s.

*/

setTable()

C++ Interface: set_table(const AnimChannelMatrixXfmTable self, char table_id, const ConstPointerToArray table)

/**
  • 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.

*/

set_table()

C++ Interface: set_table(const AnimChannelMatrixXfmTable self, char table_id, const ConstPointerToArray table)

/**
  • 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.

*/

tables