IndexedVertexList
(domain, start, count, index_start, index_count)¶A list of vertices within an IndexedVertexDomain that are indexed. Use IndexedVertexDomain.create to construct this list.
Constructor:
__init__
(domain, start, count, index_start, index_count)¶Methods:
Attributes:
colors
Array of color data. edge_flags
Array of edge flag data. fog_coords
Array of fog coordinate data. indices
Array of index 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.
IndexedVertexList.
delete
()¶Delete this group.
IndexedVertexList.
draw
(mode)¶IndexedVertexList.
resize
(count, index_count)¶Resize this group.
Parameters: |
|
---|
Methods
IndexedVertexList.
get_domain
()Get the domain this vertex list belongs to.
Return type: VertexDomain
IndexedVertexList.
get_size
()Get the number of vertices in the list.
Return type: int
IndexedVertexList.
migrate
(domain)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. Attributes
IndexedVertexList.
colors
Array of color data.
IndexedVertexList.
edge_flags
Array of edge flag data.
IndexedVertexList.
fog_coords
Array of fog coordinate data.
IndexedVertexList.
normals
Array of normal vector data.
IndexedVertexList.
secondary_colors
Array of secondary color data.
IndexedVertexList.
tex_coords
Array of texture coordinate data.
IndexedVertexList.
vertices
Array of vertex coordinate data.