W3cubDocs

/Godot 3.1

VisualScriptConstant

Inherits: VisualScriptNode < Resource < Reference < Object

Category: Core

Brief Description

Gets a contant’s value.

Properties

Variant.Type type
Variant value

Description

This node returns a constant’s value.

Input Ports:

none

Output Ports:

  • Data (variant): get

Property Descriptions

Variant.Type type

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–2019 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.1/classes/class_visualscriptconstant.html