Quadratic Class

Summary

Functions based on quadratic equations (x^2).
Assembly
Animancer.dll
Namespace
global
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["Quadratic"] class Type type-node

Syntax

public static class Quadratic

Methods

Name Value Summary
In(float) float
Interpolates the `value` based on the line y = x^2.
static
In(float, float, float) float
A variant of Quadratic.In(System.Single) with a custom range instead of 0 to 1.
static
InDerivative(float) float
Returns the derivative of Quadratic.In(System.Single) (y = 2x).
static
InDerivative(float, float, float) float
A variant of Quadratic.InDerivative(System.Single) with a custom range instead of 0 to 1.
static
InOut(float) float
Interpolate using Quadratic.In(System.Single) (0 to 0.5) or Quadratic.Out(System.Single) (0.5 to 1).
static
InOut(float, float, float) float
A variant of Quadratic.InOut(System.Single) with a custom range instead of 0 to 1.
static
InOutDerivative(float) float
Returns the derivative of Quadratic.InOut(System.Single).
static
InOutDerivative(float, float, float) float
A variant of Quadratic.InDerivative(System.Single) with a custom range instead of 0 to 1.
static
Out(float) float
Interpolates the `value` based on the line y = 1 - (x - 1)^2.
static
Out(float, float, float) float
A variant of Quadratic.Out(System.Single) with a custom range instead of 0 to 1.
static
OutDerivative(float) float
Returns the derivative of Quadratic.Out(System.Single) (y = -2x + 2).
static
OutDerivative(float, float, float) float
A variant of Quadratic.InDerivative(System.Single) with a custom range instead of 0 to 1.
static