Lists

Description

The List nodes provide several operations, specifically used for handling Lists in Over SDK.

OverList Component

To use Lists, an OverList Component is required. It allows to define a custom list, ready to be used in the Visual Scripting System. The main parameters to be customized are:

NameTypeDescription

Type

Enum

The type of the elements contained in the List.

Elements

List

List of elements contained in the List.

Nodes

Base

The most basic kind of operations applicable to lists do not require Flow Nodes:

NodeDescription

Length

Returns the total length of the list

First

Returns the first value of the list

Last

Returns the last value of the list

Common

These nodes are responsible for implementing common list operations that require Flow Nodes to operate:

NodeDescription

Add

Adds an Element to a List (it must be the same type of the list type)

Remove

Removes an Element to a List (it must be the same type of the list type)

Clear

Clears the entire List from it's Elements

Get At

Gets an Element from the List at given Index

Index Of

Returns the Index of a given Element of the list (-1 if the element is not in the list)

Advanced

These nodes are responsible for implementing more advanced list operations that require Flow Nodes to operate:

NodeDescription

Insert At

Insert an Element at a given Index

Remove At

Remove an Element at a given Index

Range

Selects a subsection of a List

Reverse

Returns the reversed version of the List

Index Of

Returns the Index of a given Element of the list (-1 if the element is not in the list)

Boolean

These nodes are responsible for implementing boolean list operations that require Flow Nodes to operate:

NodeDescription

Contains

Checks if an Element is contained in List

Last updated