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

Class _SkinPartition

source code

                  object --+            
                           |            
      utils.graph.DetailNode --+        
                               |        
          utils.graph.GlobalNode --+    
                                   |    
object_models.xml.struct_.StructBase --+
                                       |
                                      NifFormat._SkinPartition
Known Subclasses:

Skinning data for a submesh, optimized for hardware skinning. Part of NiSkinPartition.
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 = ['num_vertices', 'num_triangles', 'num_bones', 'num_s...

Inherited from object_models.xml.struct_.StructBase: arg

Properties [hide private]
  bone_indices
Bone indices, they index into'Bones'.
  bones
List of bones.
  has_bone_indices
Do we have bone indices?
  has_faces
Do we have triangle or strip data?
  has_vertex_map
Do we have a vertex map?
  has_vertex_weights
Do we have vertex weights?
  num_bones
Number of bones influencing this submesh.
  num_strips
Number of strips in this submesh (zero if not stripped).
  num_triangles
Number of triangles in this submesh.
  num_vertices
Number of vertices in this submesh.
  num_weights_per_vertex
Number of weight coefficients per vertex.
  strip_lengths
The strip lengths.
  strips
The strips.
  triangles
The triangles.
  vertex_map
Maps the weight/influence lists in this submesh to the vertices in the shape being skinned.
  vertex_weights
The vertex weights.

Inherited from object: __class__

Class Variable Details [hide private]

_attribute_list

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2c2f250>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c2f290>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c2f310>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c2f350>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c2f390>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c2f410>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c2f4d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c2f550>,
...

_attrs

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2c2f250>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c2f290>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c2f310>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c2f350>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c2f390>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c2f410>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c2f4d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c2f550>,
...

_names

Value:
['num_vertices',
 'num_triangles',
 'num_bones',
 'num_strips',
 'num_weights_per_vertex',
 'bones',
 'has_vertex_map',
 'vertex_map',
...

Property Details [hide private]

bone_indices

Bone indices, they index into'Bones'.
Get Method:
<functools.partial object at 0x2c34cb0>

bones

List of bones.
Get Method:
<functools.partial object at 0x2c34470>

has_bone_indices

Do we have bone indices?
Get Method:
<functools.partial object at 0x2c34a48>
Set Method:
<functools.partial object at 0x2c34aa0>

has_faces

Do we have triangle or strip data?
Get Method:
<functools.partial object at 0x2c34940>
Set Method:
<functools.partial object at 0x2c34998>

has_vertex_map

Do we have a vertex map?
Get Method:
<functools.partial object at 0x2c34520>
Set Method:
<functools.partial object at 0x2c34578>

has_vertex_weights

Do we have vertex weights?
Get Method:
<functools.partial object at 0x2c34680>
Set Method:
<functools.partial object at 0x2c34628>

num_bones

Number of bones influencing this submesh.
Get Method:
<functools.partial object at 0x2c34158>
Set Method:
<functools.partial object at 0x2c341b0>

num_strips

Number of strips in this submesh (zero if not stripped).
Get Method:
<functools.partial object at 0x2c34260>
Set Method:
<functools.partial object at 0x2c342b8>

num_triangles

Number of triangles in this submesh.
Get Method:
<functools.partial object at 0x2c34050>
Set Method:
<functools.partial object at 0x2c340a8>

num_vertices

Number of vertices in this submesh.
Get Method:
<functools.partial object at 0x2c2ef18>
Set Method:
<functools.partial object at 0x2c2ef70>

num_weights_per_vertex

Number of weight coefficients per vertex. The Gamebryo engine seems to work well only if this number is equal to 4, even if there are less than 4 influences per vertex.
Get Method:
<functools.partial object at 0x2c34368>
Set Method:
<functools.partial object at 0x2c343c0>

strip_lengths

The strip lengths.
Get Method:
<functools.partial object at 0x2c34838>

strips

The strips.
Get Method:
<functools.partial object at 0x2c34af8>

triangles

The triangles.
Get Method:
<functools.partial object at 0x2c34ba8>

vertex_map

Maps the weight/influence lists in this submesh to the vertices in the shape being skinned.
Get Method:
<functools.partial object at 0x2c346d8>

vertex_weights

The vertex weights.
Get Method:
<functools.partial object at 0x2c34890>