dmj5
Class DMJ_TrapColoringImaginary
Object
common:Generic
common:TrapColoring
dmj5:DMJ_TrapColoringImaginary
class
- TrapColoring:DMJ_TrapColoringImaginary
Ultra Fractal Source
Toggle UF Source Code Display
class DMJ_TrapColoringImaginary(common.ulb:TrapColoring) {
public:
import "common.ulb"
func DMJ_TrapColoringImaginary(Generic pparent)
TrapColoring.TrapColoring(pparent)
endfunc
float func Result(TrapMode ptrapmode)
if (@p_untransformed)
return abs(imag(ptrapmode.GetUntransformedPoint(0))) + ptrapmode.GetTexture(0)
else
return abs(imag(ptrapmode.GetTransformedPoint(0))) + ptrapmode.GetTexture(0)
endif
endfunc
default:
title = "Imaginary"
int param v_dmj_trapcoloringimaginary
caption = "Version (DMJ_TrapColoringImaginary)"
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_dmj_trapcoloringimaginary < 100
endparam
bool param p_untransformed
caption = "Use value before transformation"
default = false
hint = "If checked, coloring will be based on the value prior to any trap position transformations."
endparam
}
Methods inherited from class Object |
|
DMJ_TrapColoringImaginary
public DMJ_TrapColoringImaginary(Generic pparent)
DMJ_TrapColoringImaginary
public DMJ_TrapColoringImaginary()
Result
public float Result(TrapMode ptrapmode)
- Description copied from class:
TrapColoring
- get a final result
- Overrides:
Result
in class TrapColoring