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

This node returns a constant from a given class, such as [constant 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

    [Obsolete("GetBaseType is deprecated. Use the BaseType property instead.")]
    public string GetBaseType()

Getter for BaseType

    [Obsolete("GetClassConstant is deprecated. Use the Constant property instead.")]
    public string GetClassConstant()

Getter for Constant

    [Obsolete("SetBaseType is deprecated. Use the BaseType property instead.")]
    public void SetBaseType(string name)

Setter for BaseType

    [Obsolete("SetClassConstant is deprecated. Use the Constant property instead.")]
    public void SetClassConstant(string name)

Setter for Constant

Tags: