dmj5
Class DMJ_TrapColoringMagnitude

Object
  extended by common:Generic
      extended by common:TrapColoring
          extended by dmj5:DMJ_TrapColoringMagnitude

class 
TrapColoring:DMJ_TrapColoringMagnitude



Ultra Fractal Source

Toggle UF Source Code Display

 class DMJ_TrapColoringMagnitude(common.ulb:TrapColoring) {
 public:
   import "common.ulb"
 
   func DMJ_TrapColoringMagnitude(Generic pparent)
     TrapColoring.TrapColoring(pparent)
   endfunc
   
   float func Result(TrapMode ptrapmode)
     if (@p_untransformed)
       return cabs(ptrapmode.GetUntransformedPoint(0)) + ptrapmode.GetTexture(0)
     else
       return cabs(ptrapmode.GetTransformedPoint(0)) + ptrapmode.GetTexture(0)
     endif
   endfunc
 
 default:
   title = "Magnitude"
 
   int param v_dmj_trapcoloringmagnitude
     caption = "Version (DMJ_TrapColoringMagnitude)"
     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_trapcoloringmagnitude < 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
 }
 


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

Constructor Detail

DMJ_TrapColoringMagnitude

public DMJ_TrapColoringMagnitude(Generic pparent)

DMJ_TrapColoringMagnitude

public DMJ_TrapColoringMagnitude()
Method Detail

Result

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

Overrides:
Result in class TrapColoring