Click or drag to resize

TerrainCollection.Contains 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.3.420.0 (24.3.420.0)
Syntax
public bool Contains(
	TerrainOverlay terrainOverlay
)

Parameters

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

Return Value

Type: Boolean
Whether terrainOverlay is in the collection.

Implements

ICollection<T>.Contains(T)
See Also