class_colorarray - vkbsb/godot GitHub Wiki

ColorArray

####Category: Built-In Types

Brief Description

Array of Colors

Member Functions

Description

Array of Color, can only contains colors. Optimized for memory usage, cant fragment the memory.

Member Function Description

get

Get an index in the array.

push_back

  • void push_back ( Color color )

Append a value to the array.

resize

  • void resize ( int idx )

Resize the array.

set

Set an index in the array.

size

Return the array size.

ColorArray

  • void ColorArray ( Array from )

Create from a generic array.