Package pyffi :: Package formats :: Package cgf :: Class CgfFormat :: Class _BoneInitialPosChunk
[hide private]
[frames] | no frames]

Class _BoneInitialPosChunk

source code

                  object --+                    
                           |                    
      utils.graph.DetailNode --+                
                               |                
          utils.graph.GlobalNode --+            
                                   |            
object_models.xml.struct_.StructBase --+        
                                       |        
                        CgfFormat._Chunk --+    
                                           |    
                             CgfFormat.Chunk --+
                                               |
                                              CgfFormat._BoneInitialPosChunk
Known Subclasses:

Nested Classes [hide private]

Inherited from object_models.xml.struct_.StructBase: __metaclass__

Instance Methods [hide private]

Inherited from Chunk: apply_scale, tree

Inherited from object_models.xml.struct_.StructBase: __init__, __str__, deepcopy, fix_links, get_attribute, get_basic_attribute, get_detail_child_names, get_detail_child_nodes, get_global_child_nodes, get_global_display, get_hash, get_links, get_refs, get_size, get_strings, get_template_attribute, read, replace_global_node, set_attribute, set_basic_attribute, set_template_attribute, write

Inherited from utils.graph.GlobalNode: get_global_child_edge_types, get_global_iterator

Inherited from utils.graph.DetailNode: get_detail_child_edge_types, get_detail_display, get_detail_iterator

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]

Inherited from object_models.xml.struct_.StructBase: get_games, get_versions

Class Variables [hide private]
  _attribute_list = [<pyffi.object_models.xml.StructAttribute ob...
  _attrs = [<pyffi.object_models.xml.StructAttribute object at 0...
  _games = {'Aion': [1], 'Crysis': [1], 'Far Cry': [1]}
  _has_links = True
  _is_template = False
  _names = ['mesh', 'num_bones', 'initial_pos_matrices']

Inherited from object_models.xml.struct_.StructBase: arg

Properties [hide private]
  initial_pos_matrices
  mesh
The mesh with bone info for which these bone initial positions are applicable.
  num_bones
Number of bone initial positions.

Inherited from object: __class__

Class Variable Details [hide private]

_attribute_list

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x273a8d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x273a910>,
 <pyffi.object_models.xml.StructAttribute object at 0x273a950>]

_attrs

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x273a8d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x273a910>,
 <pyffi.object_models.xml.StructAttribute object at 0x273a950>]

Property Details [hide private]

initial_pos_matrices

Get Method:
<functools.partial object at 0x27409f0>

mesh

The mesh with bone info for which these bone initial positions are applicable. There might be some unused bones here as well. There must be the same number of bones as in the other chunks - they are placed in BoneId order.
Get Method:
<functools.partial object at 0x27407e0>
Set Method:
<functools.partial object at 0x2740838>

num_bones

Number of bone initial positions.
Get Method:
<functools.partial object at 0x27408e8>
Set Method:
<functools.partial object at 0x2740940>