forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_colorarray
Lukas Sägesser edited this page Jun 22, 2015
·
10 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 ( )
- ColorArray 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.
- ColorArray ColorArray ( Array from )
Create from a generic array.