VisualScriptConstant

Refreshing Cache...

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

Property Descriptions

Default0
Setterset_constant_type(value)
Getterget_constant_type()

The constant’s type.


Setterset_constant_value(value)
Getterget_constant_value()

The constant’s value.

doradoro's advice! Getters and Setters will be deprecated! Avoid their use!

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 2020-03-07 at 01:42:55. It's the English Stable version because it's what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.