ParamSpec¶
Type
ParamSpec describes one parameter in OperatorSpec.Params.
Name¶
Name is the key in Execute's params table and in Name=value command arguments.
Type¶
Type is "number", "integer", "boolean", "string", "enum", "Vector3", "instance", or "instances".
Label¶
Label is the display name, or nil to use Name.
Hidden¶
Hidden omits the parameter from an operator prefab's prefilled fields when true.
From¶
From is "Selection" to fill an omitted "instance" or "instances" parameter from Studio's selection, or nil.
Default¶
Default is the fallback number, boolean, string, or vector when a call omits the parameter, or nil. "MoveIncrement" and "RotateIncrement" use Studio's snap steps at call time.
Labels¶
Labels lists up to 64 choice strings for an "enum" parameter.