public class VertexElementUserData extends VertexElement
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.lang.Object |
getData()
The user data attached in this element
|
void |
setData(java.lang.Object value)
The user data attached in this element
|
clone, getIndices, getMappingMode, getName, getReferenceMode, getVertexElementType, setIndices, setMappingMode, setName, setReferenceMode, toString
public VertexElementUserData()
VertexElementUserData
class.public java.lang.Object getData()
public void setData(java.lang.Object value)
value
- New valuepublic 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