Skip to content

IntVector

Bananenbrot edited this page Aug 10, 2023 · 4 revisions

The IntVector Property is a special vector variable. You can add this vector variable to the Properties by writing a new comment over the variable with the syntax:

#STB-Input-{Space}-IntVector

IntVector Syntax

The variable must be of the type list or tuple and the elements must be of type int The length of the list or tuple must be in range of 1 to 32

Example

This Property is only displayed in the Panel.

#STB-Input-Panel-IntVector
MyIntVector = [10,3,5]

This Property is displayed in the Panel and also in the Dialog.

#STB-Input-Panel-IntVector /// #STB-Input-Dialog-IntVector
MyIntVector = (10,3,5,2,3)
Clone this wiki locally