VisualScriptConstant

Inherits: VisualScriptNode < Resource < Reference < Object

Gets a contant's value.

Description

This node returns a constant's value.

Input Ports:

none

Output Ports:

  • Data (variant): get

Properties

Variant.Type type 0
Variant value

Property Descriptions

Variant.Type type

Default 0
Setter set_constant_type(value)
Getter get_constant_type()

The constant's type.

Variant value

Setter set_constant_value(value)
Getter get_constant_value()

The constant's value.

© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_visualscriptconstant.html