forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 20
class_colorarray
reduz edited this page Feb 23, 2014
·
9 revisions
####Category: Built-In Types
Array of Colors
- 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 )
Array of Color, can only contains colors. Optimized for memory usage, cant fragment the memory.
Get an index in the array.
- void push_back ( Color color )
Append a value to the array.
- void resize ( int idx )
Resize the array.
Set an index in the array.
- int size ( )
Return the array size.
- void ColorArray ( Array from )
Create from a generic array.