class_colorarray - vkbsb/godot GitHub Wiki
ColorArray
####Category: Built-In Types
Brief Description
Array of Colors
Member Functions
- Color get ( int idx )
- void push_back ( Color color )
- void resize ( int idx )
- void set ( int idx, Color color )
- int size ( )
- void ColorArray ( Array from )
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
- int size ( )
Return the array size.
ColorArray
- void ColorArray ( Array from )
Create from a generic array.