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

Class NiMesh

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.NiRenderObject --+
                                                                   |
                                                                  NifFormat.NiMesh

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

Inherited from NiRenderObject (private): _games, _is_template

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

Inherited from object_models.xml.struct_.StructBase: arg

Properties [hide private]
  bound
The combined bounding volume of all submeshes.
  datas
  instancing_enabled
Sets whether hardware instancing is being used.
  modifiers
  num_datas
  num_modifiers
  num_submeshes
The number of submeshes contained in this mesh.
  primitive_type
The primitive type of the mesh, such as triangles or lines.
  unknown_100
Unknown.
  unknown_101
Unknown.
  unknown_102
Size of additional data.
  unknown_103
  unknown_200
  unknown_201
  unknown_250
  unknown_251
  unknown_300
  unknown_301
  unknown_302
  unknown_303
  unknown_350
  unknown_351
  unknown_400
  unknown_51
  unknown_52
  unknown_53
  unknown_54
  unknown_55
  unknown_56

Inherited from NiRenderObject: active_material, material_data, material_needs_update_default, num_materials

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, 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 0x316cfd0>,
 <pyffi.object_models.xml.StructAttribute object at 0x3175050>,
 <pyffi.object_models.xml.StructAttribute object at 0x3175090>,
 <pyffi.object_models.xml.StructAttribute object at 0x31750d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x3175110>,
 <pyffi.object_models.xml.StructAttribute object at 0x3175150>,
 <pyffi.object_models.xml.StructAttribute object at 0x3175190>,
 <pyffi.object_models.xml.StructAttribute object at 0x31751d0>,
...

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

bound

The combined bounding volume of all submeshes.
Get Method:
<functools.partial object at 0x3177520>
Set Method:
<functools.partial object at 0x3177578>

datas

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

instancing_enabled

Sets whether hardware instancing is being used.
Get Method:
<functools.partial object at 0x3177418>
Set Method:
<functools.partial object at 0x3177470>

modifiers

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

num_datas

Get Method:
<functools.partial object at 0x3177628>
Set Method:
<functools.partial object at 0x3177680>

num_modifiers

Get Method:
<functools.partial object at 0x31777e0>
Set Method:
<functools.partial object at 0x3177838>

num_submeshes

The number of submeshes contained in this mesh.
Get Method:
<functools.partial object at 0x3177310>
Set Method:
<functools.partial object at 0x3177368>

primitive_type

The primitive type of the mesh, such as triangles or lines.
Get Method:
<functools.partial object at 0x3173ba8>
Set Method:
<functools.partial object at 0x3173c00>

unknown_100

Unknown.
Get Method:
<functools.partial object at 0x3177998>
Set Method:
<functools.partial object at 0x31779f0>

unknown_101

Unknown.
Get Method:
<functools.partial object at 0x3177aa0>
Set Method:
<functools.partial object at 0x3177af8>

unknown_102

Size of additional data.
Get Method:
<functools.partial object at 0x3177ba8>
Set Method:
<functools.partial object at 0x3177c00>

unknown_103

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

unknown_200

Get Method:
<functools.partial object at 0x3177d60>
Set Method:
<functools.partial object at 0x3177db8>

unknown_201

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

unknown_250

Get Method:
<functools.partial object at 0x3177f18>
Set Method:
<functools.partial object at 0x3177f70>

unknown_251

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

unknown_300

Get Method:
<functools.partial object at 0x3179100>
Set Method:
<functools.partial object at 0x3179158>

unknown_301

Get Method:
<functools.partial object at 0x3179208>
Set Method:
<functools.partial object at 0x3179260>

unknown_302

Get Method:
<functools.partial object at 0x3179310>
Set Method:
<functools.partial object at 0x3179368>

unknown_303

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

unknown_350

Get Method:
<functools.partial object at 0x31794c8>
Set Method:
<functools.partial object at 0x3179520>

unknown_351

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

unknown_400

Get Method:
<functools.partial object at 0x3179680>
Set Method:
<functools.partial object at 0x31796d8>

unknown_51

Get Method:
<functools.partial object at 0x3173cb0>
Set Method:
<functools.partial object at 0x3173d08>

unknown_52

Get Method:
<functools.partial object at 0x3173db8>
Set Method:
<functools.partial object at 0x3173e10>

unknown_53

Get Method:
<functools.partial object at 0x3173ec0>
Set Method:
<functools.partial object at 0x3173f18>

unknown_54

Get Method:
<functools.partial object at 0x3173fc8>
Set Method:
<functools.partial object at 0x3177050>

unknown_55

Get Method:
<functools.partial object at 0x3177100>
Set Method:
<functools.partial object at 0x3177158>

unknown_56

Get Method:
<functools.partial object at 0x3177208>
Set Method:
<functools.partial object at 0x3177260>