VertexElement

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.threed.IIndexedVertexElement

public abstract class VertexElement implements IIndexedVertexElement

Base class of vertex elements. A vertex element type is identified by VertexElementType. A VertexElement describes how the vertex element is mapped to a geometry surface and how the mapping information is arranged in memory. A VertexElement contains Normals, UVs or other kind of information.

Methods

MethodDescription
clear()Clears all the data from this vertex element.
clone(boolean withData)Deep clone the vertex element
equals(Object arg0)
getClass()
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()
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)

clear()

public abstract void clear()

Clears all the data from this vertex element.

clone(boolean withData)

public VertexElement clone(boolean withData)

Deep clone the vertex element

Parameters:

ParameterTypeDescription
withDatabooleanClone the vertex with direct and index array

Returns: VertexElement

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getIndices()

public List<Integer> getIndices()

Gets the indices data

Returns: java.util.List<java.lang.Integer>

getMappingMode()

public MappingMode getMappingMode()

Gets how the element is mapped.

Returns: MappingMode

getName()

public String getName()

Gets the name.

Returns: java.lang.String

getReferenceMode()

public ReferenceMode getReferenceMode()

Gets how the element is referenced.

Returns: ReferenceMode

getVertexElementType()

public VertexElementType getVertexElementType()

Gets the type of the VertexElement

Returns: VertexElementType

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setIndices(int[] data)

public void setIndices(int[] data)

Load indices

Parameters:

ParameterTypeDescription
dataint[]

setMappingMode(MappingMode value)

public void setMappingMode(MappingMode value)

Sets how the element is mapped.

Parameters:

ParameterTypeDescription
valueMappingModeNew value

setName(String value)

public void setName(String value)

Sets the name.

Parameters:

ParameterTypeDescription
valuejava.lang.StringNew value

setReferenceMode(ReferenceMode value)

public void setReferenceMode(ReferenceMode value)

Sets how the element is referenced.

Parameters:

ParameterTypeDescription
valueReferenceModeNew 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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int