Welcome to the Godot Reference Fork and the Godot Proposals Fork alternatives. Why?

VisualScriptClassConstant

0 0 vote
Article Rating

Inherits: VisualScriptNode < Resource < Reference < Object

Gets a constant from a given class.

Description

This node returns a constant from a given class, such as @GlobalScope.TYPE_INT. See the given class’ documentation for available constants.

Input Ports:

none

Output Ports:

  • Data (variant): value

Properties

Stringbase_type"Object"
Stringconstant""

Property Descriptions

Default"Object"
Setterset_base_type(value)
Getterget_base_type()

The constant’s parent class.


Default""
Setterset_class_constant(value)
Getterget_class_constant()

The constant to return. See the given class for its available constants.

Doc ID missing

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 1970-01-01 at 00:00:00. 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.

Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x