Package com.aspose.threed
Class VertexElementMaterial
- java.lang.Object
-
- com.aspose.threed.VertexElement
-
- com.aspose.threed.VertexElementMaterial
-
- All Implemented Interfaces:
IIndicedVertexElement
public class VertexElementMaterial extends VertexElement implements IIndicedVertexElement
Defines material index for specified components. A node can have multiple materials, theVertexElementMaterial
is used to render different part of the geometry in different materials.
-
-
Constructor Summary
Constructors Constructor Description VertexElementMaterial()
Initializes a new instance of theVertexElementMaterial
class.
-
Method Summary
Modifier and Type Method Description void
clear()
Removes all elements from the direct and the index arrays.VertexElement
clone(boolean withDirect, boolean withIndice)
java.util.List<java.lang.Integer>
getIndices()
Gets the indice datavoid
setIndices(int[] data)
Load indices-
Methods inherited from class com.aspose.threed.VertexElement
clone, getMappingMode, getName, getReferenceMode, getVertexElementType, setMappingMode, setName, setReferenceMode, toString
-
-
-
-
Constructor Detail
-
VertexElementMaterial
public VertexElementMaterial()
Initializes a new instance of theVertexElementMaterial
class.
-
-
Method Detail
-
getIndices
public java.util.List<java.lang.Integer> getIndices()
Gets the indice data- Specified by:
getIndices
in interfaceIIndicedVertexElement
-
setIndices
public void setIndices(int[] data)
Load indices- Parameters:
data
-
-
clear
public void clear()
Removes all elements from the direct and the index arrays.- Specified by:
clear
in classVertexElement
-
clone
public VertexElement clone(boolean withDirect, boolean withIndice)
-
-