VisualScriptClassConstant

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

String

base_type

"Object"

String

constant

""


Property Descriptions

String base_type = "Object"

  • void set_base_type ( String value )

  • String get_base_type ( )

The constant's parent class.


String constant = ""

  • void set_class_constant ( String value )

  • String get_class_constant ( )

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