Skip to content

FloatVector

Bananenbrot edited this page Aug 10, 2023 · 3 revisions

The FloatVector 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}-FloatVector

FloatVector 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-FloatVector
MyFloatVector = [10.0,3.0,5.0]

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

#STB-Input-Panel-FloatVector /// #STB-Input-Dialog-FloatVector
MyFloatVector = (10.0,3.0,5.0,2.0,3.0)
Clone this wiki locally