TerrainCollectionIndexOf Method (TerrainOverlay) |
Namespace:
AGI.Foundation.Graphics
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public int IndexOf(
TerrainOverlay terrainOverlay
)
Public Function IndexOf (
terrainOverlay As TerrainOverlay
) As Integer
public:
int IndexOf(
TerrainOverlay^ terrainOverlay
)
member IndexOf :
terrainOverlay : TerrainOverlay -> int
Parameters
- terrainOverlay
- Type: AGI.Foundation.GraphicsTerrainOverlay
The TerrainOverlay to search for in the collection.
Return Value
Type:
Int32The index of
terrainOverlay in the collection. -1 if it isn't found.
See Also