Gets a contant's value.
    public class VisualScriptConstant : VisualScriptNode

This node returns a constant’s value.

Input Ports:

none

Output Ports:

  • Data (variant): get

Inheritance Chain

Constructors

    public VisualScriptConstant()

Properties

    public Variant.Type Type { get; set; }

The constant’s type.

    public object Value { get; set; }

The constant’s value.

Methods

    public Variant.Type GetConstantType()

Getter for Type

    public object GetConstantValue()

Getter for Value

    public void SetConstantType(Variant.Type type)

Setter for Type

    public void SetConstantValue(object value)

Setter for Value

Tags: