ModelMeshCollection.Item Property (String)
Retrieves a ModelMesh from the collection, given the name of the mesh.
Syntax
'Declaration
Public ReadOnly Property Item ( _
meshName As String _
) As ModelMesh
public ModelMesh this [
string meshName
] { get; }
public:
property ModelMesh default [String] {
ModelMesh get (String meshName);
}
Property Value
Type: ModelMesh
The ModelMesh identified by meshName.
Exceptions
Exception type | Condition |
---|---|
KeyNotFoundException | meshName was not found in this ModelMeshCollection. |
Requirements
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)
See Also
Reference
ModelMeshCollection Class
ModelMeshCollection Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Windows Phone