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

Class Polygon

source code

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

Two dimensional screen elements.
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 = ['num_vertices', 'vertex_offset', 'num_triangles', 't...

Inherited from object_models.xml.struct_.StructBase: arg

Properties [hide private]
  num_triangles
Number of faces in this polygon
  num_vertices
Number of vertices in this polygon
  triangle_offset
Triangle offset in shape
  vertex_offset
Vertex Offset

Inherited from object: __class__

Class Variable Details [hide private]

_attribute_list

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x3086ad0>,
 <pyffi.object_models.xml.StructAttribute object at 0x3086b50>,
 <pyffi.object_models.xml.StructAttribute object at 0x3086b90>,
 <pyffi.object_models.xml.StructAttribute object at 0x3086bd0>]

_attrs

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x3086ad0>,
 <pyffi.object_models.xml.StructAttribute object at 0x3086b50>,
 <pyffi.object_models.xml.StructAttribute object at 0x3086b90>,
 <pyffi.object_models.xml.StructAttribute object at 0x3086bd0>]

_names

Value:
['num_vertices', 'vertex_offset', 'num_triangles', 'triangle_offset']

Property Details [hide private]

num_triangles

Number of faces in this polygon
Get Method:
<functools.partial object at 0x30899f0>
Set Method:
<functools.partial object at 0x3089a48>

num_vertices

Number of vertices in this polygon
Get Method:
<functools.partial object at 0x30897e0>
Set Method:
<functools.partial object at 0x3089838>

triangle_offset

Triangle offset in shape
Get Method:
<functools.partial object at 0x3089af8>
Set Method:
<functools.partial object at 0x3089b50>

vertex_offset

Vertex Offset
Get Method:
<functools.partial object at 0x30898e8>
Set Method:
<functools.partial object at 0x3089940>