VertexElementMaterial
Overview
VertexElementMaterial is a class in Aspose.3D FOSS for Java.
Inherits from: VertexElement.
VertexElementMaterial.VertexElementMaterial creates a material vertex element using the given mapping and reference modes.
This class provides 16 methods for working with VertexElementMaterial objects in Java programs.
Available methods include: VertexElementMaterial, clear, clone, getIndices, getMappingMode, getName, getReferenceMode, getVertexElementType, setIndices, setMappingMode, setName, setReferenceMode, and 1 additional methods.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: indices, mappingMode, name, referenceMode, vertexElementType.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
vertexElementType | VertexElementType | Read | Gets the vertex element type. |
name | String | Read | Gets the name of the vertex element. |
mappingMode | MappingMode | Read | Gets the mapping mode. |
referenceMode | ReferenceMode | Read | Gets the reference mode. |
indices | List<Integer> | Read | Gets the indices list. |
Methods
| Signature | Description |
|---|---|
VertexElementMaterial() | Creates a material vertex element using the given mapping and reference modes |
VertexElementMaterial(mappingMode: MappingMode, referenceMode: ReferenceMode) | Calls VertexElementMaterial(mappingMode, referenceMode) on this VertexElementMaterial instance. |
getVertexElementType() → VertexElementType | Returns the vertex element type. |
clone(withData: boolean, withIndices: boolean) → VertexElement | Calls clone(withData, withIndices) on this VertexElementMaterial instance. |
clear() | Calls clear on this VertexElementMaterial instance. |
getName() → String | Gets the name of the vertex element. |
setName(name: String) | Sets the name of the vertex element. |
getMappingMode() → MappingMode | Gets the mapping mode. |
setMappingMode(mappingMode: MappingMode) | Sets the mapping mode. |
getReferenceMode() → ReferenceMode | Gets the reference mode. |
setReferenceMode(referenceMode: ReferenceMode) | Sets the reference mode. |
getIndices() → List<Integer> | Gets the indices list. |
setIndices(indices: int[]) | Sets the indices array. |
clone(withData: boolean) → VertexElement | Clones the vertex element. |
clone() → VertexElement | Clones the vertex element with default settings. |
toString() → String | Returns a string representation of the vertex element. |