Helper class to do some generic calculation. More...
Public Member Functions | |
float | calculate (PUDynamicAttribute *dyn, float x, float defaultValue=0.0f) |
Return PUDynamicAttribute getvalue if dyn != null, otherwise, return defaultValue. More... | |
var | calculate ( var dyn, var x, var 0f) |
Return PUDynamicAttribute getvalue if dyn != null, otherwise, return defaultValue. More... | |
local | calculate ( local dyn, local x, local 0f) |
Return PUDynamicAttribute getvalue if dyn != null, otherwise, return defaultValue. More... | |
Helper class to do some generic calculation.
float calculate | ( | PUDynamicAttribute * | dyn, |
float | x, | ||
float | defaultValue = 0.0f |
||
) |
Return PUDynamicAttribute getvalue if dyn != null, otherwise, return defaultValue.
The Value.
var calculate | ( | var | dyn, |
var | x, | ||
var | defaultValue = 0.0f |
||
) |
Return PUDynamicAttribute getvalue if dyn != null, otherwise, return defaultValue.
The Value.
local calculate | ( | local | dyn, |
local | x, | ||
local | defaultValue = 0.0f |
||
) |
Return PUDynamicAttribute getvalue if dyn != null, otherwise, return defaultValue.
The Value.