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

Class _SkinData

source code

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

Skinning data component.
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 = ['rotation', 'translation', 'scale', 'bounding_sphere...

Inherited from object_models.xml.struct_.StructBase: arg

Properties [hide private]
  bounding_sphere_offset
Translation offset of a bounding sphere holding all vertices.
  bounding_sphere_radius
Radius for bounding sphere holding all vertices.
  num_vertices
Number of weighted vertices.
  rotation
Rotation offset of the skin from this bone in bind position.
  scale
Scale offset of the skin from this bone in bind position.
  translation
Translation offset of the skin from this bone in bind position.
  unknown_13_shorts
Unknown, always 0?
  vertex_weights
The vertex weights.

Inherited from object: __class__

Class Variable Details [hide private]

_attribute_list

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2c33ad0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c33b50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c33b90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c33bd0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c33c50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c33cd0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c33d50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c33dd0>,
...

_attrs

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2c33ad0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c33b50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c33b90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c33bd0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c33c50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c33cd0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c33d50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c33dd0>,
...

_names

Value:
['rotation',
 'translation',
 'scale',
 'bounding_sphere_offset',
 'bounding_sphere_radius',
 'unknown_13_shorts',
 'num_vertices',
 'vertex_weights']

Property Details [hide private]

bounding_sphere_offset

Translation offset of a bounding sphere holding all vertices. (Note that its a Sphere Containing Axis Aligned Box not a minimum volume Sphere)
Get Method:
<functools.partial object at 0x2cc9c00>
Set Method:
<functools.partial object at 0x2cc9c58>

bounding_sphere_radius

Radius for bounding sphere holding all vertices.
Get Method:
<functools.partial object at 0x2cc9d08>
Set Method:
<functools.partial object at 0x2cc9d60>

num_vertices

Number of weighted vertices.
Get Method:
<functools.partial object at 0x2cc9ec0>
Set Method:
<functools.partial object at 0x2cc9f18>

rotation

Rotation offset of the skin from this bone in bind position.
Get Method:
<functools.partial object at 0x2cc98e8>
Set Method:
<functools.partial object at 0x2cc9940>

scale

Scale offset of the skin from this bone in bind position. (Assumption - this is always 1.0 so far)
Get Method:
<functools.partial object at 0x2cc9af8>
Set Method:
<functools.partial object at 0x2cc9b50>

translation

Translation offset of the skin from this bone in bind position.
Get Method:
<functools.partial object at 0x2cc99f0>
Set Method:
<functools.partial object at 0x2cc9a48>

unknown_13_shorts

Unknown, always 0?
Get Method:
<functools.partial object at 0x2cc9e10>

vertex_weights

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