Click or drag to resize

TerrainCollectionContains Method (TerrainOverlay)

Checks the presence of a TerrainOverlay in the collection.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public bool Contains(
	TerrainOverlay terrainOverlay
)

Parameters

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

Return Value

Type: Boolean
Whether terrainOverlay is in the collection.

Implements

ICollectionTContains(T)
See Also