Struct Formula
Assembly: Dew.Core.dll
[Serializable]
[InlineProperty]
public struct Formula
Fields
Declaration
[HideLabel]
[SuffixLabel("f(x)", true)]
[ValidateInput("IsValid", "Expression Error", InfoMessageType.Error)]
[FormerlySerializedAs("forumla")]
public string formula
Field Value
Methods
Declaration
Declaration
public float Evaluate(float x)
Parameters
| Type |
Name |
Description |
| float |
x |
|
Returns
Operators
Declaration
public static implicit operator Formula(string str)
Parameters
| Type |
Name |
Description |
| string |
str |
|
Returns