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

Class _NiGeometry

source code

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

Describes a visible scene element with vertices like a mesh, a particle system, lines, etc.
Nested Classes [hide private]

Inherited from object_models.xml.struct_.StructBase: __metaclass__

Instance Methods [hide private]

Inherited from NiAVObject: add_property, apply_scale, get_properties, get_transform, remove_property, set_properties, set_transform

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: 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]
  active_material
Active Material; often -1.
  data
Data index (NiTriShapeData/NiTriStripData).
  dirty_flag
Dirty Flag?
  has_shader
Shader.
  material_extra_data
Unknown integer; often -1.
  material_name
Unknown string.
  num_materials
Num Materials
  shader_name
The shader name.
  skin_instance
Skin instance index.
  unknown_byte
Cyanide extension (only in version 10.2.0.0?).
  unknown_integer
Unknown value, usually -1.
  unknown_integer_2
Unknown.

Inherited from _NiAVObject: bounding_box, collision_object, flags, has_bounding_box, num_properties, properties, rotation, scale, translation, unknown_1, unknown_2, unknown_short_1, velocity

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

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 0x2dd9050>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dd9110>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dd91d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dd9210>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dd92d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dd9390>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dd93d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2dd9410>,
...

_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]

active_material

Active Material; often -1. (Is this a link, array index?)
Get Method:
<functools.partial object at 0x2dd7890>
Set Method:
<functools.partial object at 0x2dd78e8>

data

Data index (NiTriShapeData/NiTriStripData).
Get Method:
<functools.partial object at 0x2dd7418>
Set Method:
<functools.partial object at 0x2dd7470>

dirty_flag

Dirty Flag?
Get Method:
<functools.partial object at 0x2dd7ec0>
Set Method:
<functools.partial object at 0x2dd7f18>

has_shader

Shader.
Get Method:
<functools.partial object at 0x2dd7998>
Set Method:
<functools.partial object at 0x2dd79f0>

material_extra_data

Unknown integer; often -1. (Is this a link, array index?)
Get Method:
<functools.partial object at 0x2dd77e0>

material_name

Unknown string. Shader?
Get Method:
<functools.partial object at 0x2dd7730>

num_materials

Num Materials
Get Method:
<functools.partial object at 0x2dd7628>
Set Method:
<functools.partial object at 0x2dd7680>

shader_name

The shader name.
Get Method:
<functools.partial object at 0x2dd7aa0>
Set Method:
<functools.partial object at 0x2dd7af8>

skin_instance

Skin instance index.
Get Method:
<functools.partial object at 0x2dd7520>
Set Method:
<functools.partial object at 0x2dd7578>

unknown_byte

Cyanide extension (only in version 10.2.0.0?).
Get Method:
<functools.partial object at 0x2dd7cb0>
Set Method:
<functools.partial object at 0x2dd7d08>

unknown_integer

Unknown value, usually -1. (Not a link)
Get Method:
<functools.partial object at 0x2dd7ba8>
Set Method:
<functools.partial object at 0x2dd7c00>

unknown_integer_2

Unknown.
Get Method:
<functools.partial object at 0x2dd7db8>
Set Method:
<functools.partial object at 0x2dd7e10>