TerrainCollectionSwap Method (Int32, Int32) | 
 
Swaps the position of two 
TerrainOverlay objects at the specified indices.
 
    Namespace: 
   AGI.Foundation.Graphics
    Assembly:
   AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic void Swap(
	int index1,
	int index2
)
Public Sub Swap ( 
	index1 As Integer,
	index2 As Integer
)
public:
void Swap(
	int index1, 
	int index2
)
member Swap : 
        index1 : int * 
        index2 : int -> unit 
Parameters
- index1
 - Type: SystemInt32
The index of the first TerrainOverlay. - index2
 - Type: SystemInt32
The index of the second TerrainOverlay. 
See Also