Search Results for

    Show / Hide Table of Contents

    Struct Formula

    Namespace: Global
    Assembly: Dew.Core.dll
    Syntax
    [Serializable]
    [InlineProperty]
    public struct Formula

    Fields

    formula

    Declaration
    [HideLabel]
    [SuffixLabel("f(x)", true)]
    [ValidateInput("IsValid", "Expression Error", InfoMessageType.Error)]
    [FormerlySerializedAs("forumla")]
    public string formula
    Field Value
    Type Description
    string

    Methods

    Bake()

    Declaration
    public void Bake()

    Evaluate(float)

    Declaration
    public float Evaluate(float x)
    Parameters
    Type Name Description
    float x
    Returns
    Type Description
    float

    Operators

    implicit operator Formula(string)

    Declaration
    public static implicit operator Formula(string str)
    Parameters
    Type Name Description
    string str
    Returns
    Type Description
    Formula
    In This Article
    Back to top Shape of Dreams API Documentation