Click or drag to resize

TerrainCollectionIndexOf Method (TerrainOverlay)

Gets the index of the specified 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
)

Parameters

terrainOverlay
Type: AGI.Foundation.GraphicsTerrainOverlay
The TerrainOverlay to search for in the collection.

Return Value

Type: Int32
The index of terrainOverlay in the collection. -1 if it isn't found.
See Also