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

 

Reference Manual - TVertexList


Used by the TGLMesh vertices property for storing vertex information including vertex coordinates, normals, colors and texture coordinates.

Important TVertexList properties and methods:

addvertex (aVertex : TVertex; aNormal : TAffineVector; aColor: TColorVector; aTexPoint: TTexPoint);
Adds a vertex to a mesh with information on the vertex normal, color and texture coordinates. Depending on the vertexmode property of TGLMesh these values may be ignored. There are other overloaded versions of addvertex but this the commonly used one.

clear : Removes all vertices

vertexcoord[index : Integer] : TAffineVector
Coordinate of a vertex

vertextexcoord[index : Integer] : TTexPoint
Texpoint of a vertex

count : number of vertices



Demo: CVS/Demos/meshes/formula

Unit: GLMesh

Descends from TGLUpdateAbleObject.
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.0675 seconds