common
Class TrapModeWithThreshold
Object
common:Generic
common:TrapMode
common:TrapModeWithThreshold
- Direct Known Subclasses:
- DMJ_TrapModeAlternatingAverage, DMJ_TrapModeAlternatingAverage2, DMJ_TrapModeClosest, DMJ_TrapModeExponentialAverage, DMJ_TrapModeFarthest, DMJ_TrapModeFirst, DMJ_TrapModeInvertedSum, DMJ_TrapModeLast, DMJ_TrapModeProduct, DMJ_TrapModeSecondClosest, DMJ_TrapModeSecondFarthest, DMJ_TrapModeStacked, DMJ_TrapModeSum, DMJ_TrapModeTrapOnly, MMF_TrapModeSmoothWithThreshold, Standard_TrapModeBase, TrapModeFirst
class
- TrapMode:TrapModeWithThreshold
Variant of TrapMode that is thresholdable
Ultra Fractal Source
Toggle UF Source Code Display
class TrapModeWithThreshold(TrapMode) {
; Variant of TrapMode that is thresholdable
public:
func TrapModeWithThreshold(Generic pparent)
TrapMode.TrapMode(pparent)
m_Threshold = 1.0
endfunc
float func GetThreshold()
return m_Threshold
endfunc
func SetThreshold(float pthreshold)
m_Threshold = pthreshold
endfunc
bool func UsesThreshold()
return true
endfunc
protected:
float m_Threshold
default:
int param v_trapmodewiththreshold
caption = "Version (TrapModeWithThreshold)"
default = 100
hint = "This version parameter is used to detect when a change has been made to the formula that is incompatible with the previous version. When that happens, this field will reflect the old version number to alert you to the fact that an alternate rendering is being used."
visible = @v_trapmodewiththreshold < 100
endparam
}
Methods inherited from class Object |
|
TrapModeWithThreshold
public TrapModeWithThreshold(Generic pparent)
TrapModeWithThreshold
public TrapModeWithThreshold()
GetThreshold
public float GetThreshold()
- Description copied from class:
TrapMode
- get threshold value
- Overrides:
GetThreshold
in class TrapMode
SetThreshold
public void SetThreshold(float pthreshold)
- Overrides:
SetThreshold
in class TrapMode
UsesThreshold
public boolean UsesThreshold()
- Description copied from class:
TrapMode
- get whether threshold is even used
- Overrides:
UsesThreshold
in class TrapMode