public class VertexElementMaterial extends VertexElement
VertexElementMaterial
is used to render different part of the geometry in different materials.Constructor and Description |
---|
VertexElementMaterial()
Initializes a new instance of the
VertexElementMaterial class. |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Removes all elements from the direct and the index arrays.
|
VertexElement |
clone(boolean withDirect,
boolean withIndice)
Deep clone the vertex element
|
clone, getIndices, getMappingMode, getName, getReferenceMode, getVertexElementType, setIndices, setMappingMode, setName, setReferenceMode, toString
public VertexElementMaterial()
VertexElementMaterial
class.public void clear()
clear
in class VertexElement
public VertexElement clone(boolean withDirect, boolean withIndice)
VertexElement
withDirect
- Clone the vertex with direct arraywithIndice
- Clone the vertex with index array