tma
Class TMA_TrapColoringModulatedIter

Object
  extended by common:Generic
      extended by common:TrapColoring
          extended by tma:TMA_TrapColoringModulatedIter

class 
TrapColoring:TMA_TrapColoringModulatedIter



Ultra Fractal Source

Toggle UF Source Code Display

 class TMA_TrapColoringModulatedIter(common.ulb:TrapColoring) {
 public:
    float func Result(TrapMode pTrapMode)
      return ((real(@colorFn((pTrapMode.getIteration(0)-@tz1)*@tz2)^@tz3) % @iter_mod) / @iter_mod ) + ptrapmode.GetTexture(0)
    endfunc
 
 default:
    title = "Modulated Iter +"
   float param iter_mod
      caption = "No. of Colors"
      default = 4
      hint = "The number of color ranges. Decimal values allowed"
   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
 }
 


Constructor Summary
TMA_TrapColoringModulatedIter()
           
 
Method Summary
 float Result(TrapMode pTrapMode)
          get a final result
 
Methods inherited from class common:Generic
GetParent
 
Methods inherited from class Object
 

Constructor Detail

TMA_TrapColoringModulatedIter

public TMA_TrapColoringModulatedIter()
Method Detail

Result

public float Result(TrapMode pTrapMode)
Description copied from class: TrapColoring
get a final result

Overrides:
Result in class TrapColoring