public final class ModelMeshCollection extends ReadOnlyCollection<ModelMesh>
Modifier and Type | Class and Description |
---|---|
class |
ModelMeshCollection.ModelMeshCollectionIterator
Provides the ability to iterate through the bones in an ModelMeshCollection.
|
Modifier and Type | Method and Description |
---|---|
ModelMesh |
get(java.lang.String meshName)
Retrieves a ModelMesh from the collection, given the name of the mesh.
|
ModelMeshCollection.ModelMeshCollectionIterator |
iterator()
Returns a ModelMeshCollection.Enumerator that can iterate through a ModelMeshCollection.
|
boolean |
TryGetValue(java.lang.String meshName,
ModelMesh value)
Finds a mesh with a given name if it exists in the collection.
|
public ModelMesh get(java.lang.String meshName)
meshName
- The name of the mesh to retrieve.public ModelMeshCollection.ModelMeshCollectionIterator iterator()
iterator
in interface java.lang.Iterable<ModelMesh>
iterator
in class ReadOnlyCollection<ModelMesh>
public boolean TryGetValue(java.lang.String meshName, ModelMesh value)
meshName
- The name of the mesh to find.value
- [OutAttribute] The mesh named meshName, if found.