mmf
Class MMF_UserGradient

Object
  extended by common:Generic
      extended by mmf:MMF_UserGradient
Direct Known Subclasses:
MMF_DefaultGradient, MMF_Gradient101

class 
Generic:MMF_UserGradient



Ultra Fractal Source

Toggle UF Source Code Display

 class MMF_UserGradient(common.ulb:Generic) {
 public:
   ; <p>
   ; @param pparent typically 'this' from the parent or zero
   func MMF_UserGradient(Generic pparent)
     m_Parent = pparent
   endfunc
   ; <p>
   ; @param i gradient index
   ; @return colour from gradient
   color func GetColour(float i)
     return RGBA(0,0,0,1)
   endfunc
 default:
   int param v_mmfgradientbase
     caption = "Version (MMF_GradientBase)"
     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_mmfgradientbase < 100
   endparam
 }
 


Constructor Summary
MMF_UserGradient()
           
MMF_UserGradient(Generic pparent)
          
 
Method Summary
 color GetColour(float i)
          
 
Methods inherited from class common:Generic
GetParent
 
Methods inherited from class Object
 

Constructor Detail

MMF_UserGradient

public MMF_UserGradient(Generic pparent)

Parameters:
pparent - typically 'this' from the parent or zero

MMF_UserGradient

public MMF_UserGradient()
Method Detail

GetColour

public color GetColour(float i)

Parameters:
i - gradient index
Returns:
colour from gradient