Click or drag to resize

CompositeTerrainProviderInsert 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: 24.2.419.0 (24.2.419.0)
Syntax
public void Insert(
	int index,
	TerrainProvider item
)

Parameters

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

Implements

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