A list of vertices within a VertexDomain. Use VertexDomain.create to construct this list.
Constructor:
Methods:
delete() Delete this group. draw(mode) Draw this vertex list in the given OpenGL mode. get_domain() Get the domain this vertex list belongs to. get_size() Get the number of vertices in the list. migrate(domain) Move this group from its current domain and add to the specified one. resize(count) Resize this group.
Attributes:
colors Array of color data. edge_flags Array of edge flag data. fog_coords Array of fog coordinate data. normals Array of normal vector data. secondary_colors Array of secondary color data. tex_coords Array of texture coordinate data. vertices Array of vertex coordinate data.
Delete this group.
Draw this vertex list in the given OpenGL mode.
Parameters: | mode (int) – OpenGL drawing mode, e.g. GL_POINTS, GL_LINES, etc. |
---|
Get the domain this vertex list belongs to.
Return type: | VertexDomain |
---|
Get the number of vertices in the list.
Return type: | int |
---|
Move this group from its current domain and add to the specified one. Attributes on domains must match. (In practice, used to change parent state of some vertices).
Parameters: | domain (VertexDomain) – Domain to migrate this vertex list to. |
---|
Resize this group.
Parameters: | count (int) – New number of vertices in the list. |
---|
Array of color data.
Array of edge flag data.
Array of fog coordinate data.
Array of normal vector data.
Array of secondary color data.
Array of texture coordinate data.
Array of vertex coordinate data.