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

Class ByteColor4

source code

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

A color with alpha (red, green, blue, alpha).
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 = ['r', 'g', 'b', 'a']

Inherited from object_models.xml.struct_.StructBase: arg

Properties [hide private]
  a
Alpha color component.
  b
Blue color component.
  g
Green color component.
  r
Red color component.

Inherited from object: __class__

Class Variable Details [hide private]

_attribute_list

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2c0b750>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c0b810>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c0b890>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c0b910>]

_attrs

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2c0b750>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c0b810>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c0b890>,
 <pyffi.object_models.xml.StructAttribute object at 0x2c0b910>]

Property Details [hide private]

a

Alpha color component.
Get Method:
<functools.partial object at 0x2c0c838>
Set Method:
<functools.partial object at 0x2c0c890>

b

Blue color component.
Get Method:
<functools.partial object at 0x2c0c730>
Set Method:
<functools.partial object at 0x2c0c788>

g

Green color component.
Get Method:
<functools.partial object at 0x2c0c628>
Set Method:
<functools.partial object at 0x2c0c680>

r

Red color component.
Get Method:
<functools.partial object at 0x2c0c520>
Set Method:
<functools.partial object at 0x2c0c578>