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

Class _DataStreamChunk

source code

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

Contains data such as vertices, normals, etc.
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 = {'Crysis': [2048]}
  _is_template = False
  _names = ['flags', 'data_stream_type', 'num_elements', 'bytes_...

Inherited from object_models.xml.struct_.StructBase: arg

Properties [hide private]
  bone_map
  bytes_per_element
Bytes per data entry.
  colors_2
  data_stream_type
The type of data.
  face_map
  flags
Not used.
  indices
  normals
  num_elements
Number of data entries.
  reserved_1
  reserved_2
  rgb_colors
  rgba_colors
  sh_coeffs
  shape_deformation
  tangents
  uvs
  vert_mats
  vertices

Inherited from object: __class__

Class Variable Details [hide private]

_attribute_list

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2743550>,
 <pyffi.object_models.xml.StructAttribute object at 0x27435d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2743590>,
 <pyffi.object_models.xml.StructAttribute object at 0x2743690>,
 <pyffi.object_models.xml.StructAttribute object at 0x2743710>,
 <pyffi.object_models.xml.StructAttribute object at 0x2743750>,
 <pyffi.object_models.xml.StructAttribute object at 0x2743790>,
 <pyffi.object_models.xml.StructAttribute object at 0x2743890>,
...

_attrs

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2743550>,
 <pyffi.object_models.xml.StructAttribute object at 0x27435d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2743590>,
 <pyffi.object_models.xml.StructAttribute object at 0x2743690>,
 <pyffi.object_models.xml.StructAttribute object at 0x2743710>,
 <pyffi.object_models.xml.StructAttribute object at 0x2743750>,
 <pyffi.object_models.xml.StructAttribute object at 0x2743790>,
 <pyffi.object_models.xml.StructAttribute object at 0x2743890>,
...

_names

Value:
['flags',
 'data_stream_type',
 'num_elements',
 'bytes_per_element',
 'reserved_1',
 'reserved_2',
 'vertices',
 'normals',
...

Property Details [hide private]

bone_map

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

bytes_per_element

Bytes per data entry.
Get Method:
<functools.partial object at 0x2745470>
Set Method:
<functools.partial object at 0x27454c8>

colors_2

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

data_stream_type

The type of data.
Get Method:
<functools.partial object at 0x2745260>
Set Method:
<functools.partial object at 0x27452b8>

face_map

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

flags

Not used.
Get Method:
<functools.partial object at 0x2745158>
Set Method:
<functools.partial object at 0x27451b0>

indices

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

normals

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

num_elements

Number of data entries.
Get Method:
<functools.partial object at 0x2745368>
Set Method:
<functools.partial object at 0x27453c0>

reserved_1

Get Method:
<functools.partial object at 0x2745578>
Set Method:
<functools.partial object at 0x27455d0>

reserved_2

Get Method:
<functools.partial object at 0x2745680>
Set Method:
<functools.partial object at 0x27456d8>

rgb_colors

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

rgba_colors

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

sh_coeffs

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

shape_deformation

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

tangents

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

uvs

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

vert_mats

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

vertices

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