VertexElementUserData
Inheritance: java.lang.Object, com.aspose.threed.VertexElement
public class VertexElementUserData extends VertexElement
Defines custom user data for specified components. Usually it’s application-specific data for special purpose.
Constructors
| Constructor | Description |
|---|---|
| VertexElementUserData() | Initializes a new instance of the VertexElementUserData class. |
Methods
| Method | Description |
|---|---|
| clear() | Clears all the data from this vertex element. |
| clone(boolean withData) | Deep clone the vertex element |
| clone(boolean withDirect, boolean withIndice) | |
| equals(Object arg0) | |
| getClass() | |
| getData() | The user data attached in this element |
| getIndices() | Gets the indices data |
| getMappingMode() | Gets how the element is mapped. |
| getName() | Gets the name. |
| getReferenceMode() | Gets how the element is referenced. |
| getVertexElementType() | Gets the type of the VertexElement |
| hashCode() | |
| notify() | |
| notifyAll() | |
| setData(Object value) | The user data attached in this element |
| setIndices(int[] data) | Load indices |
| setMappingMode(MappingMode value) | Sets how the element is mapped. |
| setName(String value) | Sets the name. |
| setReferenceMode(ReferenceMode value) | Sets how the element is referenced. |
| toString() | String representation of vertex element. |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
VertexElementUserData()
public VertexElementUserData()
Initializes a new instance of the VertexElementUserData class.
clear()
public void clear()
Clears all the data from this vertex element.
clone(boolean withData)
public VertexElement clone(boolean withData)
Deep clone the vertex element
Parameters:
| Parameter | Type | Description |
|---|---|---|
| withData | boolean | Clone the vertex with direct and index array |
Returns: VertexElement
clone(boolean withDirect, boolean withIndice)
public VertexElement clone(boolean withDirect, boolean withIndice)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| withDirect | boolean | |
| withIndice | boolean |
Returns: VertexElement
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getData()
public Object getData()
The user data attached in this element
Returns: java.lang.Object - The user data attached in this element
getIndices()
public List<Integer> getIndices()
Gets the indices data
Returns: java.util.List<java.lang.Integer> - the indices data
getMappingMode()
public MappingMode getMappingMode()
Gets how the element is mapped.
Returns: MappingMode - how the element is mapped.
getName()
public String getName()
Gets the name.
Returns: java.lang.String - the name.
getReferenceMode()
public ReferenceMode getReferenceMode()
Gets how the element is referenced.
Returns: ReferenceMode - how the element is referenced.
getVertexElementType()
public VertexElementType getVertexElementType()
Gets the type of the VertexElement
Returns: VertexElementType - the type of the VertexElement
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setData(Object value)
public void setData(Object value)
The user data attached in this element
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.Object | New value |
setIndices(int[] data)
public void setIndices(int[] data)
Load indices
Parameters:
| Parameter | Type | Description |
|---|---|---|
| data | int[] |
setMappingMode(MappingMode value)
public void setMappingMode(MappingMode value)
Sets how the element is mapped.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | MappingMode | New value |
setName(String value)
public void setName(String value)
Sets the name.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | New value |
setReferenceMode(ReferenceMode value)
public void setReferenceMode(ReferenceMode value)
Sets how the element is referenced.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | ReferenceMode | New value |
toString()
public String toString()
String representation of vertex element.
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |