Skip to content

VariableHolder.Variable

ClassTextStudio.ThreeDTextStudio.3D
public sealed class VariableHolder.Variable

Immutable-at-runtime typed module input with a case-insensitive lookup key.

public Variable()

public string Key { get; }

Returns

System.String

public ModuleVariableType Type { get; }

Returns

TextStudio.ThreeD.ModuleVariableType

public float FloatValue { get; }

Returns

System.Single

public int IntegerValue { get; }

Returns

System.Int32

public bool BooleanValue { get; }

Returns

System.Boolean

public string StringValue { get; }

Returns

System.String

public Color ColorValue { get; }

Returns

UnityEngine.Color

public Vector3 VectorValue { get; }

Returns

UnityEngine.Vector3

public AnimationCurve CurveValue { get; }

Returns

UnityEngine.AnimationCurve

public Gradient GradientValue { get; }

Returns

UnityEngine.Gradient

public Object ObjectValue { get; }

Returns

UnityEngine.Object