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

Class _NiAVObject

source code

                  object --+                            
                           |                            
      utils.graph.DetailNode --+                        
                               |                        
          utils.graph.GlobalNode --+                    
                                   |                    
object_models.xml.struct_.StructBase --+                
                                       |                
                     NifFormat._NiObject --+            
                                           |            
                          NifFormat.NiObject --+        
                                               |        
                          NifFormat._NiObjectNET --+    
                                                   |    
                               NifFormat.NiObjectNET --+
                                                       |
                                                      NifFormat._NiAVObject
Known Subclasses:

Generic node object.
Nested Classes [hide private]

Inherited from object_models.xml.struct_.StructBase: __metaclass__

Instance Methods [hide private]

Inherited from NiObjectNET: add_controller, add_extra_data, add_integer_extra_data, get_controllers, get_extra_datas, remove_extra_data, set_extra_datas

Inherited from NiObject: apply_scale, find, find_chain, is_interchangeable, tree

Inherited from NiObject (private): _validateTree

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 = {}
  _is_template = False
  _names = ['name', 'has_old_extra_data', 'old_extra_prop_name',...

Inherited from _NiObjectNET (private): _has_links, _has_refs, _has_strings

Inherited from object_models.xml.struct_.StructBase: arg

Properties [hide private]
  bounding_box
The bounding box.
  collision_object
Refers to NiCollisionObject, which is usually a bounding box or other simple collision shape.
  flags
Some flags; commonly 0x000C or 0x000A.
  has_bounding_box
Do we have a bounding box?
  num_properties
The number of property objects referenced.
  properties
List of node properties.
  rotation
The rotation part of the transformation matrix.
  scale
Scaling part (only uniform scaling is supported).
  translation
The translation vector.
  unknown_1
Always 2,0,2,0.
  unknown_2
0 or 1.
  unknown_short_1
Unknown Flag
  velocity
Unknown function.

Inherited from _NiObjectNET: controller, extra_data, extra_data_list, has_old_extra_data, name, num_extra_data_list, old_extra_internal_id, old_extra_prop_name, old_extra_string, unknown_byte

Inherited from object: __class__

Class Variable Details [hide private]

_attribute_list

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2db5cd0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2db5d10>,
 <pyffi.object_models.xml.StructAttribute object at 0x2db5d90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2db5e90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2db5f90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dbb050>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dbb090>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dbb0d0>,
...

_attrs

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2dbb990>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dbba90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dbbb10>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dbbc10>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dbbc90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dbbcd0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dbbd50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dbbdd0>,
...

_names

Value:
['name',
 'has_old_extra_data',
 'old_extra_prop_name',
 'old_extra_internal_id',
 'old_extra_string',
 'unknown_byte',
 'extra_data',
 'num_extra_data_list',
...

Property Details [hide private]

bounding_box

The bounding box.
Get Method:
<functools.partial object at 0x2dbdfc8>
Set Method:
<functools.partial object at 0x2dc1050>

collision_object

Refers to NiCollisionObject, which is usually a bounding box or other simple collision shape. In Oblivion this links the Havok objects.
Get Method:
<functools.partial object at 0x2dc1100>
Set Method:
<functools.partial object at 0x2dc1158>

flags

Some flags; commonly 0x000C or 0x000A.
Get Method:
<functools.partial object at 0x2dbd520>
Set Method:
<functools.partial object at 0x2dbd578>

has_bounding_box

Do we have a bounding box?
Get Method:
<functools.partial object at 0x2dbdec0>
Set Method:
<functools.partial object at 0x2dbdf18>

num_properties

The number of property objects referenced.
Get Method:
<functools.partial object at 0x2dbdb50>
Set Method:
<functools.partial object at 0x2dbdba8>

properties

List of node properties.
Get Method:
<functools.partial object at 0x2dbdc58>

rotation

The rotation part of the transformation matrix.
Get Method:
<functools.partial object at 0x2dbd838>
Set Method:
<functools.partial object at 0x2dbd890>

scale

Scaling part (only uniform scaling is supported).
Get Method:
<functools.partial object at 0x2dbd940>
Set Method:
<functools.partial object at 0x2dbd998>

translation

The translation vector.
Get Method:
<functools.partial object at 0x2dbd730>
Set Method:
<functools.partial object at 0x2dbd788>

unknown_1

Always 2,0,2,0.
Get Method:
<functools.partial object at 0x2dbdd08>

unknown_2

0 or 1.
Get Method:
<functools.partial object at 0x2dbddb8>
Set Method:
<functools.partial object at 0x2dbde10>

unknown_short_1

Unknown Flag
Get Method:
<functools.partial object at 0x2dbd628>
Set Method:
<functools.partial object at 0x2dbd680>

velocity

Unknown function. Always seems to be (0, 0, 0)
Get Method:
<functools.partial object at 0x2dbda48>
Set Method:
<functools.partial object at 0x2dbdaa0>