Class FXYRepo
Number>number functions.
Inheritance
System.Object
FXYRepo
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Danmokou.DMath.Functions
Assembly: cs.temp.dll.dll
Syntax
public static class FXYRepo
Methods
EaseF(Func<TExArgCtx, TEx<Func<Single, Single>>>, Single, ExBPY)
Apply a ease function on top of a target function that uses time as a controller.
Declaration
public static ExBPY EaseF(Func<TExArgCtx, TEx<Func<float, float>>> smoother, float maxTime, ExBPY f)
Parameters
Type | Name | Description |
---|---|---|
System.Func<TExArgCtx, TEx<System.Func<System.Single, System.Single>>> | smoother | Smoothing function (ExMEasers) |
System.Single | maxTime | Time over which to perform easing |
ExBPY | f | Target function |
Returns
Type | Description |
---|---|
ExBPY |
EaseFD(String, Single, ExBPY)
Apply a ease function on top of a target derivative function that uses time as a controller.
Declaration
public static ExBPY EaseFD(string smoother, float maxTime, ExBPY fd)
Parameters
Type | Name | Description |
---|---|---|
System.String | smoother | Name of a float->float smoothing function (ExMEasers) |
System.Single | maxTime | Time over which to perform easing |
ExBPY | fd | Target function |
Returns
Type | Description |
---|---|
ExBPY |
SoftmaxShift(ExBPY, ExBPY, ExBPY, ExBPY)
Declaration
public static ExBPY SoftmaxShift(ExBPY sharpness, ExBPY pivot, ExBPY f1, ExBPY f2)
Parameters
Type | Name | Description |
---|---|---|
ExBPY | sharpness | |
ExBPY | pivot | |
ExBPY | f1 | |
ExBPY | f2 |
Returns
Type | Description |
---|---|
ExBPY |