unreal.GeometryScriptIndexList

class unreal.GeometryScriptIndexList(index_type: GeometryScriptIndexType = Ellipsis)

Bases: StructBase

Geometry Script Index List

C++ Source:

  • Plugin: GeometryScripting

  • Module: GeometryScriptingCore

  • File: GeometryScriptTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • index_type (GeometryScriptIndexType): [Read-Write]

clear_index_list(clear_value=0) None

Clear Index List

Parameters:

clear_value (int32) –

convert_index_list_to_array() Array[int32]

Convert Index List to Array

Returns:

index_array (Array[int32]):

Return type:

Array[int32]

duplicate_index_list() GeometryScriptIndexList

Duplicate Index List

Returns:

duplicate_list (GeometryScriptIndexList):

Return type:

GeometryScriptIndexList

get_index_list_item(index) -> (int32, is_valid_index=bool)

Get Index List Item

Parameters:

index (int32) –

Returns:

is_valid_index (bool):

Return type:

bool

get_index_list_last_index() int32

Get Index List Last Index

Return type:

int32

get_index_list_length() int32

Get Index List Length

Return type:

int32

property index_type: GeometryScriptIndexType

[Read-Write]

Type:

(GeometryScriptIndexType)

set_index_list_item(index, new_value) bool

Set Index List Item

Parameters:
  • index (int32) –

  • new_value (int32) –

Returns:

is_valid_index (bool):

Return type:

bool