public interface MeshPrimitiveModel extends ModelElement
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,AccessorModel> |
getAttributes()
Returns an unmodifiable view on the mapping from attribute names to
the
AccessorModel instances for the attribute data |
AccessorModel |
getIndices()
Return an
AccessorModel for the indices, or null
if this primitive describes non-indexed geometry |
MaterialModel |
getMaterialModel()
Returns the
MaterialModel that should be used for rendering
this mesh primitive |
int |
getMode()
Returns the rendering mode, as a (GL) constant, standing for
GL_POINTS, GL_TRIANGLES etc. |
java.util.List<java.util.Map<java.lang.String,AccessorModel>> |
getTargets()
Returns an unmodifiable view on the list of morph targets.
|
getExtensions, getExtrasjava.util.Map<java.lang.String,AccessorModel> getAttributes()
AccessorModel instances for the attribute dataAccessorModel getIndices()
AccessorModel for the indices, or null
if this primitive describes non-indexed geometryint getMode()
GL_POINTS, GL_TRIANGLES etc.MaterialModel getMaterialModel()
MaterialModel that should be used for rendering
this mesh primitiveMaterialModeljava.util.List<java.util.Map<java.lang.String,AccessorModel>> getTargets()
AccessorModel that provides
the morph target data.
Clients should usually not modify the maps directly. If they do,
they are responsible for the consistency of the morph targets
and the attributes.Copyright © 2024. All Rights Reserved.