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

Class Key

source code

                  object --+            
                           |            
      utils.graph.DetailNode --+        
                               |        
          utils.graph.GlobalNode --+    
                                   |    
object_models.xml.struct_.StructBase --+
                                       |
                                      NifFormat.Key

A generic key with support for interpolation. Type 1 is normal linear interpolation, type 2 has forward and backward tangents, and type 3 has tension, bias and continuity arguments. Note that color4 and byte always seem to be of type 1.
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...
  _has_strings = True
  _is_template = True
  _names = ['time', 'value', 'forward', 'backward', 'tbc']

Inherited from object_models.xml.struct_.StructBase: arg

Properties [hide private]
  backward
The key backward tangent.
  forward
Key forward tangent.
  tbc
The key's TBC.
  time
Time of the key.
  value
The key value.

Inherited from object: __class__

Class Variable Details [hide private]

_attribute_list

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2c20bd0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c20c10>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c20c90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c20d50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c20e10>]

_attrs

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2c20bd0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c20c10>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c20c90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c20d50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c20e10>]

Property Details [hide private]

backward

The key backward tangent.
Get Method:
<functools.partial object at 0x2c295d0>
Set Method:
<functools.partial object at 0x2c29628>

forward

Key forward tangent.
Get Method:
<functools.partial object at 0x2c294c8>
Set Method:
<functools.partial object at 0x2c29520>

tbc

The key's TBC.
Get Method:
<functools.partial object at 0x2c296d8>
Set Method:
<functools.partial object at 0x2c29730>

time

Time of the key.
Get Method:
<functools.partial object at 0x2c292b8>
Set Method:
<functools.partial object at 0x2c29310>

value

The key value.
Get Method:
<functools.partial object at 0x2c293c0>
Set Method:
<functools.partial object at 0x2c29418>