OpenGL Library for Delphi,
maintained by Eric Grange,
based on Mike Lischke's GLScene.

 

Reference Manual - TFaceGroup


Is the list item type for the TFaceGroups class which is ultimately used by TMeshObject. It provides a list of index's to the TMeshObject vertices that have a given texture. For example it is possible to use TFaceGroup obtain all the vertices that use the texture 'right_leg.jpg'.

Important methods and properties:
materialname: The texture name of the facegroup
vertexindices TIntegerList
List of vertex indices to vertices list of the parent TMeshObject. For example vertexindices may be the list 3, 4, 5 which means the face group is made up the vertices:
TMeshObject.vertices[3]
TMeshObject.vertices[4]
TMeshObject.vertices[5]

The vertexindices property isn't actually part of TFaceGroup. Rather it is in TFGVertexIndexList. Therefore access vertexindices by overriding the TFaceGroup class with TFGVertexIndexList.

Unit: GLVectorFileObjects
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.0214 seconds