AnimChannelMatrixXfmTable¶
from acron.core import AnimChannelMatrixXfmTable
- class AnimChannelMatrixXfmTable¶
Bases:
Bases:
AnimChannel_ACMatrixSwitchTypeAn 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
digraph inheritancefa390b2849 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "AnimChannelBase" [URL="acron.core.AnimChannelBase.html#acron.core.AnimChannelBase",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "AnimGroup" -> "AnimChannelBase" [arrowsize=0.75,style=""]; "AnimChannelMatrixXfmTable" [URL="acron.core.AnimChannelMatrixXfmTable.html#acron.core.AnimChannelMatrixXfmTable",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "AnimChannel_ACMatrixSwitchType" -> "AnimChannelMatrixXfmTable" [arrowsize=0.75,style=""]; "AnimChannel_ACMatrixSwitchType" [URL="acron.core.AnimChannel_ACMatrixSwitchType.html#acron.core.AnimChannel_ACMatrixSwitchType",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "AnimChannelBase" -> "AnimChannel_ACMatrixSwitchType" [arrowsize=0.75,style=""]; "AnimGroup" [URL="acron.core.AnimGroup.html#acron.core.AnimGroup",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedWritableReferenceCount" -> "AnimGroup" [arrowsize=0.75,style=""]; "Namable" -> "AnimGroup" [arrowsize=0.75,style=""]; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "Namable" [URL="acron.core.Namable.html#acron.core.Namable",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "Namable" [arrowsize=0.75,style=""]; "ReferenceCount" [URL="acron.core.ReferenceCount.html#acron.core.ReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "ReferenceCount" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "TypedObject" [arrowsize=0.75,style=""]; "TypedWritable" [URL="acron.core.TypedWritable.html#acron.core.TypedWritable",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "TypedWritable" [arrowsize=0.75,style=""]; "TypedWritableReferenceCount" [URL="acron.core.TypedWritableReferenceCount.html#acron.core.TypedWritableReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedWritable" -> "TypedWritableReferenceCount" [arrowsize=0.75,style=""]; "ReferenceCount" -> "TypedWritableReferenceCount" [arrowsize=0.75,style=""]; }- __init__()¶
Used only for bam loader.
Creates a new
AnimChannelMatrixXfmTable, just like this one, without copying any children. The new copy is added to the indicated parent. Intended to be called by make_copy() only.
- clear_all_tables()¶
Removes all the tables from the channel, and resets it to its initial state.
- clear_table()¶
Removes the indicated table from the definition.
- static get_class_type()¶
- get_table()¶
Returns a pointer to the indicated subtable’s data, if it exists, or NULL if it does not.
- has_table()¶
Returns true if the indicated subtable has been assigned.
- static is_valid_id()¶
Returns true if the given letter is one of the nine valid table id’s.
- set_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.
- 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.