class TMA_TrapColoringImaginary(common.ulb:TrapColoring) {
public:
float func Result(TrapMode pTrapMode)
return abs(imag(@colorFn(((pTrapMode.getTransformedPoint(0))-@tz1)*@tz2)^@tz3))
endfunc
default:
title = "Imaginary +"
param version
caption = "Version"
default = 1.00
visible = false
endparam
func colorFn
caption = "Coloring Mode Fn"
default = ident()
hint = "Changes the gradient mapping onto the elements"
endfunc
complex param tz1
caption = "Color Offset"
default = (0,0)
hint = "Changes the gradient mapping onto the elements"
endparam
complex param tz2
caption = "Color Strength"
default = (1,0)
hint = "Changes the gradient mapping onto the elements"
endparam
complex param tz3
caption = "Color Power"
default = (1,0)
hint = "Changes the gradient mapping onto the elements"
endparam
}