| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
utils.graph.DetailNode --+
|
utils.graph.GlobalNode --+
|
object_models.xml.struct_.StructBase --+
|
NifFormat._NiObject --+
|
NifFormat.NiObject --+
|
NifFormat._NiGeometryData --+
|
NifFormat.NiGeometryData --+
|
NifFormat._NiTriBasedGeomData --+
|
NifFormat.NiTriBasedGeomData --+
|
NifFormat._NiTriStripsData --+
|
NifFormat.NiTriStripsData
Example usage:
>>> from pyffi.formats.nif import NifFormat >>> block = NifFormat.NiTriStripsData() >>> block.set_triangles([(0,1,2),(2,1,3),(2,3,4)]) >>> block.get_strips() [[0, 1, 2, 3, 4]] >>> block.get_triangles() [(0, 1, 2), (1, 3, 2), (2, 3, 4)] >>> block.set_strips([[1,0,1,2,3,4]]) >>> block.get_strips() [[1, 0, 1, 2, 3, 4]] >>> block.get_triangles() [(0, 2, 1), (1, 2, 3), (2, 4, 3)]
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
_attribute_list =
|
|||
|
Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
_attribute_list
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Oct 10 19:03:50 2011 | http://epydoc.sourceforge.net |