EggSAnimData

from panda3d.egg import EggSAnimData
class EggSAnimData

Bases: EggAnimData

Corresponding to an <S$Anim> entry, this stores a single column of numbers, for instance for a morph target, or as one column in an EggXfmSAnim.

Inheritance diagram

Inheritance diagram of EggSAnimData

__init__(*args, **kwargs)
assign()

C++ Interface: assign(const EggSAnimData self, const EggSAnimData copy)

/**

*/

getClassType()

C++ Interface: get_class_type()

getNumRows()

C++ Interface: get_num_rows(EggSAnimData self)

/**
  • Returns the number of rows in the table. For an SAnim table, each row has

  • one column.

*/

getValue()

C++ Interface: get_value(EggSAnimData self, int row)

/**
  • Returns the value at the indicated row. Row must be in the range 0 <= row

  • < get_num_rows().

*/

get_class_type()

C++ Interface: get_class_type()

get_num_rows()

C++ Interface: get_num_rows(EggSAnimData self)

/**
  • Returns the number of rows in the table. For an SAnim table, each row has

  • one column.

*/

get_value()

C++ Interface: get_value(EggSAnimData self, int row)

/**
  • Returns the value at the indicated row. Row must be in the range 0 <= row

  • < get_num_rows().

*/

optimize()

C++ Interface: optimize(const EggSAnimData self)

/**
  • Optimizes the data by collapsing a long table of duplicate values into a

  • single value.

*/

setValue()

C++ Interface: set_value(const EggSAnimData self, int row, double value)

/**
  • Changes the value at the indicated row. Row must be in the range 0 <= row

  • < get_num_rows().

*/

set_value()

C++ Interface: set_value(const EggSAnimData self, int row, double value)

/**
  • Changes the value at the indicated row. Row must be in the range 0 <= row

  • < get_num_rows().

*/