| Python Script Engine 8.3 GL Studio Editor Python Script API

Public Member Functions | List of all members
VectorArray Class Reference

## Public Member Functions
| VectorArray ()
void | Insert (Vector &v)
unsigned int | GetCount ()
Vector * | GetVectorAtIndex (int index)

## Detailed Description

Common editor interface Vector array.

If the VectorArray instance is empty, it will return 'False' in comparison checks.

# Python:
import VectorArray
vectorArray = VectorArray.VectorArray()
if vectorArray: # Will be False
pass
vectorArray.Insert( someVector )
if vectorArray: # Will be True
pass
VectorArray::VectorArray
VectorArray()
default ctor

## Constructor & Destructor Documentation

## ◆ VectorArray()

VectorArray::VectorArray | ( |  | ) |

default ctor

## Member Function Documentation

## ◆ GetCount()

unsigned int VectorArray::GetCount | ( |  | ) |

get the number of elements in the array

Returns
  the number of elements in the array

## ◆ GetVectorAtIndex()

Vector * VectorArray::GetVectorAtIndex | ( | int | index | ) |

get the Vector at the given index in the array

Parameters

  index | the index of the Vector to retrieve

Returns
  Vector * to the Vector at the given index

## ◆ Insert()

void VectorArray::Insert | ( | Vector & | v | ) |

insert the given Vector at the end of the array

Parameters

  v | Vector to insert

The documentation for this class was generated from the following file:

- VectorArray.i