Package pyffi :: Package formats :: Package nif :: Class NifFormat :: Class AdditionalDataInfo
[hide private]
[frames] | no frames]

Class AdditionalDataInfo

source code

                  object --+            
                           |            
      utils.graph.DetailNode --+        
                               |        
          utils.graph.GlobalNode --+    
                                   |    
object_models.xml.struct_.StructBase --+
                                       |
                                      NifFormat.AdditionalDataInfo

Nested Classes [hide private]

Inherited from object_models.xml.struct_.StructBase: __metaclass__

Instance Methods [hide private]

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, tree, 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...
  _names = ['data_type', 'num_channel_bytes_per_element', 'num_c...

Inherited from object_models.xml.struct_.StructBase: arg

Properties [hide private]
  block_index
Unsure.
  channel_offset
Offset (in bytes) of this channel.
  data_type
Type of data in this channel
  num_channel_bytes
Total number of bytes of this channel (num vertices times num bytes per element)
  num_channel_bytes_per_element
Number of bytes per element of this channel
  num_total_bytes_per_element
Number of bytes per element in all channels together.
  unknown_byte_1
Unknown, usually equal to 2.

Inherited from object: __class__

Class Variable Details [hide private]

_attribute_list

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x31568d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x3156910>,
 <pyffi.object_models.xml.StructAttribute object at 0x3156950>,
 <pyffi.object_models.xml.StructAttribute object at 0x3156990>,
 <pyffi.object_models.xml.StructAttribute object at 0x3156a50>,
 <pyffi.object_models.xml.StructAttribute object at 0x3156ad0>,
 <pyffi.object_models.xml.StructAttribute object at 0x3156b90>]

_attrs

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x31568d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x3156910>,
 <pyffi.object_models.xml.StructAttribute object at 0x3156950>,
 <pyffi.object_models.xml.StructAttribute object at 0x3156990>,
 <pyffi.object_models.xml.StructAttribute object at 0x3156a50>,
 <pyffi.object_models.xml.StructAttribute object at 0x3156ad0>,
 <pyffi.object_models.xml.StructAttribute object at 0x3156b90>]

_names

Value:
['data_type',
 'num_channel_bytes_per_element',
 'num_channel_bytes',
 'num_total_bytes_per_element',
 'block_index',
 'channel_offset',
 'unknown_byte_1']

Property Details [hide private]

block_index

Unsure. The block in which this channel is stored? Usually there is only one block, and so this is zero.
Get Method:
<functools.partial object at 0x315bdb8>
Set Method:
<functools.partial object at 0x315be10>

channel_offset

Offset (in bytes) of this channel. Sum of all num channel bytes per element of all preceeding block infos.
Get Method:
<functools.partial object at 0x315bec0>
Set Method:
<functools.partial object at 0x315bf18>

data_type

Type of data in this channel
Get Method:
<functools.partial object at 0x315b998>
Set Method:
<functools.partial object at 0x315b9f0>

num_channel_bytes

Total number of bytes of this channel (num vertices times num bytes per element)
Get Method:
<functools.partial object at 0x315bba8>
Set Method:
<functools.partial object at 0x315bc00>

num_channel_bytes_per_element

Number of bytes per element of this channel
Get Method:
<functools.partial object at 0x315baa0>
Set Method:
<functools.partial object at 0x315baf8>

num_total_bytes_per_element

Number of bytes per element in all channels together. Sum of num channel bytes per element over all block infos.
Get Method:
<functools.partial object at 0x315bcb0>
Set Method:
<functools.partial object at 0x315bd08>

unknown_byte_1

Unknown, usually equal to 2.
Get Method:
<functools.partial object at 0x315bfc8>
Set Method:
<functools.partial object at 0x315c050>