Package pyffi :: Package formats :: Package cgf :: Class CgfFormat :: Class BoneLightBinding
[hide private]
[frames] | no frames]

Class BoneLightBinding

source code

                  object --+            
                           |            
      utils.graph.DetailNode --+        
                               |        
          utils.graph.GlobalNode --+    
                                   |    
object_models.xml.struct_.StructBase --+
                                       |
                                      CgfFormat.BoneLightBinding

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_links = True
  _has_refs = True
  _names = ['light', 'bone', 'pos', 'rot']

Inherited from object_models.xml.struct_.StructBase: arg

Properties [hide private]
  bone
Parent bone.
  light
Light that is bound to a bone.
  pos
Position of light in parent bone coordinates.
  rot
Logarithm of quaternion that describes the light orientation relative to the parent bone.

Inherited from object: __class__

Class Variable Details [hide private]

_attribute_list

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x26aea50>,
 <pyffi.object_models.xml.StructAttribute object at 0x26aea90>,
 <pyffi.object_models.xml.StructAttribute object at 0x26aeb10>,
 <pyffi.object_models.xml.StructAttribute object at 0x26aeb50>]

_attrs

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x26aea50>,
 <pyffi.object_models.xml.StructAttribute object at 0x26aea90>,
 <pyffi.object_models.xml.StructAttribute object at 0x26aeb10>,
 <pyffi.object_models.xml.StructAttribute object at 0x26aeb50>]

Property Details [hide private]

bone

Parent bone.
Get Method:
<functools.partial object at 0x2721578>
Set Method:
<functools.partial object at 0x27215d0>

light

Light that is bound to a bone.
Get Method:
<functools.partial object at 0x2721470>
Set Method:
<functools.partial object at 0x27214c8>

pos

Position of light in parent bone coordinates.
Get Method:
<functools.partial object at 0x2721680>
Set Method:
<functools.partial object at 0x27216d8>

rot

Logarithm of quaternion that describes the light orientation relative to the parent bone.
Get Method:
<functools.partial object at 0x2721788>
Set Method:
<functools.partial object at 0x27217e0>