unreal.GeometryScriptColorList
¶
- class unreal.GeometryScriptColorList¶
Bases:
StructBase
Geometry Script Color List
C++ Source:
Plugin: GeometryScripting
Module: GeometryScriptingCore
File: GeometryScriptTypes.h
- clear_color_list(clear_color) None ¶
Clear Color List
- Parameters:
clear_color (LinearColor) –
- convert_color_list_to_array() Array[LinearColor] ¶
Convert Color List to Array
- Returns:
color_array (Array[LinearColor]):
- Return type:
- duplicate_color_list() GeometryScriptColorList ¶
Duplicate Color List
- Returns:
duplicate_list (GeometryScriptColorList):
- Return type:
- extract_color_list_channel(channel_index=0) GeometryScriptScalarList ¶
Extract Color List Channel
- Parameters:
channel_index (int32) –
- Returns:
scalar_list (GeometryScriptScalarList):
- Return type:
- extract_color_list_channels(x_channel_index=0, y_channel_index=1, z_channel_index=2) GeometryScriptVectorList ¶
Extract Color List Channels
- Parameters:
x_channel_index (int32) –
y_channel_index (int32) –
z_channel_index (int32) –
- Returns:
vector_list (GeometryScriptVectorList):
- Return type:
- get_color_list_item(index) -> (LinearColor, is_valid_index=bool)¶
Get Color List Item
- Parameters:
index (int32) –
- Returns:
is_valid_index (bool):
- Return type:
- get_color_list_last_index() int32 ¶
Get Color List Last Index
- Return type:
int32
- get_color_list_length() int32 ¶
Get Color List Length
- Return type:
int32
- set_color_list_item(index, new_color) bool ¶
Set Color List Item
- Parameters:
index (int32) –
new_color (LinearColor) –
- Returns:
is_valid_index (bool):
- Return type: