class_intarray - dragonsoulz/godot GitHub Wiki

IntArray

####Category: Built-In Types

Brief Description

Integer Array .

Member Functions

Description

Integer Array. Array of integers. Can only contain integers. Optimized for memory usage, cant fragment the memory.

Member Function Description

get

Get an index in the array.

push_back

  • void push_back ( int integer )

Append a value to the array.

resize

  • void resize ( int idx )

Resize the array.

set

  • void set ( int idx, int integer )

Set an index in the array.

size

Return the array size.

IntArray

  • void IntArray ( Array from )

Create from a generic array.