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

Class _NiKeyframeData

source code

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

Keyframes for mesh animation.
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_strings = True
  _is_template = False
  _names = ['num_rotation_keys', 'rotation_type', 'quaternion_ke...

Inherited from object_models.xml.struct_.StructBase: arg

Properties [hide private]
  num_rotation_keys
The number of quaternion rotation keys.
  quaternion_keys
The rotation keys if Quaternion rotation is used.
  rotation_type
The type of interpolation to use for rotation.
  scales
Scale keys.
  translations
Translation keys.
  unknown_float
Possibly a vestigial time value? Doesn't appear to be significant.
  xyz_rotations
Individual arrays of keys for rotating X, Y, and Z individually.

Inherited from object: __class__

Class Variable Details [hide private]

_attribute_list

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2eb32d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eb3310>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eb33d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eb34d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eb3550>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eb3610>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eb3650>]

_attrs

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2eb32d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eb3310>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eb33d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eb34d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eb3550>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eb3610>,
 <pyffi.object_models.xml.StructAttribute object at 0x2eb3650>]

_names

Value:
['num_rotation_keys',
 'rotation_type',
 'quaternion_keys',
 'unknown_float',
 'xyz_rotations',
 'translations',
 'scales']

Property Details [hide private]

num_rotation_keys

The number of quaternion rotation keys. If the rotation type is XYZ (type 4) then this must be set to 1, and in this case the actual number of keys is stored in the XYZ Rotations field.
Get Method:
<functools.partial object at 0x2eb1f18>
Set Method:
<functools.partial object at 0x2eb1f70>

quaternion_keys

The rotation keys if Quaternion rotation is used.
Get Method:
<functools.partial object at 0x2eb5158>

rotation_type

The type of interpolation to use for rotation. Can also be 4 to indicate that separate X, Y, and Z values are used for the rotation instead of Quaternions.
Get Method:
<functools.partial object at 0x2eb5050>
Set Method:
<functools.partial object at 0x2eb50a8>

scales

Scale keys.
Get Method:
<functools.partial object at 0x2eb54c8>
Set Method:
<functools.partial object at 0x2eb5520>

translations

Translation keys.
Get Method:
<functools.partial object at 0x2eb53c0>
Set Method:
<functools.partial object at 0x2eb5418>

unknown_float

Possibly a vestigial time value? Doesn't appear to be significant.
Get Method:
<functools.partial object at 0x2eb5208>
Set Method:
<functools.partial object at 0x2eb5260>

xyz_rotations

Individual arrays of keys for rotating X, Y, and Z individually.
Get Method:
<functools.partial object at 0x2eb5310>