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

Class MtlChunk

source code

                  object --+                            
                           |                            
      utils.graph.DetailNode --+                        
                               |                        
          utils.graph.GlobalNode --+                    
                                   |                    
object_models.xml.struct_.StructBase --+                
                                       |                
                        CgfFormat._Chunk --+            
                                           |            
                             CgfFormat.Chunk --+        
                                               |        
                      CgfFormat.AbstractMtlChunk --+    
                                                   |    
                                 CgfFormat._MtlChunk --+
                                                       |
                                                      CgfFormat.MtlChunk

Nested Classes [hide private]

Inherited from object_models.xml.struct_.StructBase: __metaclass__

Instance Methods [hide private]
 
get_name_shader_script(self)
Extract name, shader, and script.
source code

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...

Inherited from _MtlChunk (private): _attrs, _games, _has_links, _has_refs, _names

Inherited from AbstractMtlChunk (private): _is_template

Inherited from object_models.xml.struct_.StructBase: arg

Properties [hide private]

Inherited from _MtlChunk: alpha_test, children, col_a, col_d, col_s, dyn_bounce, dyn_sliding_friction, dyn_static_friction, flags, name, num_children, opacity, reserved, reserved_2, reserved_3, self_illum, spec_level, spec_shininess, tex_a, tex_b, tex_c, tex_d, tex_detail, tex_f, tex_g, tex_o, tex_r, tex_s, tex_subsurf, type, unknown

Inherited from object: __class__

Class Variable Details [hide private]

_attribute_list

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2730ed0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2730f50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2738090>,
 <pyffi.object_models.xml.StructAttribute object at 0x27380d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2738110>,
 <pyffi.object_models.xml.StructAttribute object at 0x27381d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2738250>,
 <pyffi.object_models.xml.StructAttribute object at 0x27382d0>,
...