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

    [Obsolete("GetConstantType is deprecated. Use the Type property instead.")]
    public Variant.Type GetConstantType()

Getter for Type

    [Obsolete("GetConstantValue is deprecated. Use the Value property instead.")]
    public object GetConstantValue()

Getter for Value

    [Obsolete("SetConstantType is deprecated. Use the Type property instead.")]
    public void SetConstantType(Variant.Type type)

Setter for Type

    [Obsolete("SetConstantValue is deprecated. Use the Value property instead.")]
    public void SetConstantValue(object value)

Setter for Value

Tags: