ExpressionMath (C++)¶
-
namespace
Foundry¶ -
namespace
Katana¶ -
class
FnExpressionMath¶ Public Types
-
enum
RetimeHoldMode¶ Values:
-
RETIME_FREEZE= kFnKatExpressionMathRetimeFreeze¶ Hold the first/last frame of the sequence. 1111 1234 4444.
-
RETIME_REPEAT= kFnKatExpressionMathRetimeRepeat¶ Repeat the sequence. 1234 1234 1234.
-
RETIME_MIRROR= kFnKatExpressionMathRetimeMirror¶ Mirror the sequence; 3432 1234 3212.
-
Public Static Functions
-
static int
clamp(int value, int a, int b)¶
-
static float
clamp(float value, float a, float b)¶
-
static double
clamp(double value, double a, double b)¶
-
static float
lerp(float mix, float a, float b)¶
-
static double
lerp(double mix, double a, double b)¶
-
static float
smoothstep(float t)¶
-
static double
smoothstep(double t)¶
-
static float
fit(float value, float oldmin, float oldmax, float newmin, float newmax)¶
-
static double
fit(double value, double oldmin, double oldmax, double newmin, double newmax)¶
-
static float
cfit(float value, float oldmin, float oldmax, float newmin, float newmax)¶
-
static double
cfit(double value, double oldmin, double oldmax, double newmin, double newmax)¶
-
static float
softcfit(float value, float oldmin, float oldmax, float newmin, float newmax)¶
-
static double
softcfit(double value, double oldmin, double oldmax, double newmin, double newmax)¶
-
static double
retime(double frame, double start, double end, RetimeHoldMode inMode, RetimeHoldMode outMode)¶
-
static float
randval(float min, float max, int seed)¶
-
static double
randval(double min, double max, int seed)¶
-
static float
noise(float x)¶
-
static float
noise(float x, float y)¶
-
static float
noise(float x, float y, float z)¶
-
static float
noise(float x, float y, float z, float w)¶
-
static float
snoise(float x)¶
-
static float
snoise(float x, float y)¶
-
static float
snoise(float x, float y, float z)¶
-
static float
snoise(float x, float y, float z, float w)¶
-
static int32_t
stablehash(const std::string &cacheID)¶
Private Functions
-
FnExpressionMath()¶
Private Static Functions
-
static const FnExpressionMathHostSuite_v1 *
_getSuite()¶
-
enum
-
class
-
namespace