Click or drag to resize

CompositeTerrainProvider.Insert Method

Inserts an element into the CompositeTerrainProvider at the given index.

Namespace:  AGI.Foundation.Terrain
Assembly:  AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public void Insert(
	int index,
	TerrainProvider item
)

Parameters

index
Type: System.Int32
The index, based at zero, to where the item is to be inserted
item
Type: AGI.Foundation.Terrain.TerrainProvider
The specific object that is being inserted (Value can be null for reference types).

Implements

IList<T>.Insert(Int32, T)
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when item is null.
ArgumentException Thrown when item already exists in this composite, or when item has a different Shape or ShapeFixedFrame than this composite.
See Also