Gets a constant from a given class.
    public class VisualScriptClassConstant : VisualScriptNode

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

Inheritance Chain

Constructors

    public VisualScriptClassConstant()

Properties

    public string BaseType { get; set; }

The constant’s parent class.

    public string Constant { get; set; }

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

Methods

    public string GetBaseType()

Getter for BaseType

    public string GetClassConstant()

Getter for Constant

    public void SetBaseType(string name)

Setter for BaseType

    public void SetClassConstant(string name)

Setter for Constant

Tags: