public class VertexElementUserData extends VertexElement implements IIndexedVertexElement
Constructor and Description |
---|
VertexElementUserData()
Initializes a new instance of the
VertexElementUserData class. |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears all the data from this vertex element.
|
VertexElement |
clone(boolean withDirect,
boolean withIndice)
Deep clone the vertex element
|
java.util.HashMap<java.lang.String,java.lang.Object> |
getData()
The user data attached in this element
|
java.util.List<java.lang.Integer> |
getIndices()
Gets the indices data
|
clone, getMappingMode, getName, getReferenceMode, getVertexElementType, setMappingMode, setName, setReferenceMode, toString
public VertexElementUserData()
VertexElementUserData
class.public java.util.HashMap<java.lang.String,java.lang.Object> getData()
public java.util.List<java.lang.Integer> getIndices()
getIndices
in interface IIndexedVertexElement
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