unreal.PCGMetadataArrayOperation¶
- class unreal.PCGMetadataArrayOperation¶
Bases:
EnumBaseEPCGMetadata Array Operation
C++ Source:
Plugin: PCG
Module: PCG
File: PCGMetadataArrayOperation.h
- ADD: PCGMetadataArrayOperation = Ellipsis¶
Add an element at the end of an array.
- Type:
2049
- ADD_UNIQUE: PCGMetadataArrayOperation = Ellipsis¶
Add an element at the end of the array if it doesn’t exist already in this array.
- Type:
2050
- APPEND: PCGMetadataArrayOperation = Ellipsis¶
Append the content of another array.
- Type:
2052
- CONTAINS: PCGMetadataArrayOperation = Ellipsis¶
Returns true if the array contains the given value.
- Type:
2054
- CONVERT_TO_ARRAY: PCGMetadataArrayOperation = Ellipsis¶
Convert a single value into an array.
- Type:
1025
- FIND: PCGMetadataArrayOperation = Ellipsis¶
Get the index of a given value. Return -1 if not found.
- Type:
2053
- FLATTEN: PCGMetadataArrayOperation = Ellipsis¶
Flatten the content of the array into multiple elements (Attribute sets and Points only).
- Type:
1026
- GET: PCGMetadataArrayOperation = Ellipsis¶
Get the element of the array at the given index. Negative index start from the end (-1 = last element). Will error out if the index is out of bounds.
- Type:
2051
- INSERT: PCGMetadataArrayOperation = Ellipsis¶
Insert an element at the given index. Negative index start from the end (-1 = last element, insert at the end). Will error out if the index is out of bounds.
- Type:
4097
- LENGTH: PCGMetadataArrayOperation = Ellipsis¶
Return the length the array
- Type:
1029
- MAKE_ARRAY: PCGMetadataArrayOperation = Ellipsis¶
Create an array from a list of elements (Attribute set and Points only).
- Type:
1027
- POP: PCGMetadataArrayOperation = Ellipsis¶
Remove the last element of the array. Will error out if there are no elements.
- Type:
1028
- REMOVE_AT_INDEX: PCGMetadataArrayOperation = Ellipsis¶
Remove element at the given index. Negative index start from the end (-1 = last element). Will error out if the index is out of bounds.
- Type:
2055
- REPLACE_AT_INDEX: PCGMetadataArrayOperation = Ellipsis¶
Replace the value at the given index. Will error out if the index is out of bounds.
- Type:
4098