Generic easing for floats with any EaseType. Use this, if you want
to be able to configure the type of easing, e.g. as a public inspector
property.
Namespace: NarayanaGames.CommonAssembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
Parameters
- type
- Type: NarayanaGames.Common NGEasing EaseType
the easing method to use
- from
- Type: System Single
Value to start from
- to
- Type: System Single
Value to go to
- frac
- Type: System Single
Value between 0 and 1
Return Value
eased interpolation from from to toSee Also