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

Class _NiSkinData

source code

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

Skinning data.
Nested Classes [hide private]

Inherited from object_models.xml.struct_.StructBase: __metaclass__

Instance Methods [hide private]

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 = {}
  _has_links = True
  _has_refs = True
  _is_template = False
  _names = ['rotation', 'translation', 'scale', 'num_bones', 'sk...

Inherited from object_models.xml.struct_.StructBase: arg

Properties [hide private]
  bone_list
Contains offset data for each node that this skin is influenced by.
  has_vertex_weights
Enables Vertex Weights for this NiSkinData.
  num_bones
Number of bones.
  rotation
The overall rotation offset of the skin from this bone in the bind position.(This is a guess, it has always been the identity matrix so far)
  scale
The scale offset of the skin from this bone in the bind position.
  skin_partition
This optionally links a NiSkinPartition for hardware-acceleration information.
  translation
The overall translation offset of the skin from this bone in the bind position.

Inherited from object: __class__

Class Variable Details [hide private]

_attribute_list

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2f99e50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2f9fd50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2f9fdd0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2f9fe10>,
 <pyffi.object_models.xml.StructAttribute object at 0x2f9ff50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2f9ff90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2fa6050>]

_attrs

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2f99e50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2f9fd50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2f9fdd0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2f9fe10>,
 <pyffi.object_models.xml.StructAttribute object at 0x2f9ff50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2f9ff90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2fa6050>]

_names

Value:
['rotation',
 'translation',
 'scale',
 'num_bones',
 'skin_partition',
 'has_vertex_weights',
 'bone_list']

Property Details [hide private]

bone_list

Contains offset data for each node that this skin is influenced by.
Get Method:
<functools.partial object at 0x2fa4a48>

has_vertex_weights

Enables Vertex Weights for this NiSkinData.
Get Method:
<functools.partial object at 0x2fa4940>
Set Method:
<functools.partial object at 0x2fa4998>

num_bones

Number of bones.
Get Method:
<functools.partial object at 0x2fa4730>
Set Method:
<functools.partial object at 0x2fa4788>

rotation

The overall rotation offset of the skin from this bone in the bind position.(This is a guess, it has always been the identity matrix so far)
Get Method:
<functools.partial object at 0x2fa4418>
Set Method:
<functools.partial object at 0x2fa4470>

scale

The scale offset of the skin from this bone in the bind position. (This is an assumption - it has always been 1.0 so far)
Get Method:
<functools.partial object at 0x2fa4628>
Set Method:
<functools.partial object at 0x2fa4680>

skin_partition

This optionally links a NiSkinPartition for hardware-acceleration information.
Get Method:
<functools.partial object at 0x2fa4838>
Set Method:
<functools.partial object at 0x2fa4890>

translation

The overall translation offset of the skin from this bone in the bind position. (This is a guess, it has always been (0.0, 0.0, 0.0) so far)
Get Method:
<functools.partial object at 0x2fa4520>
Set Method:
<functools.partial object at 0x2fa4578>