mmf
Class MMF_DefaultGradient
Object
common:Generic
mmf:MMF_UserGradient
mmf:MMF_DefaultGradient
class
- MMF_UserGradient:MMF_DefaultGradient
Ultra Fractal Source
Toggle UF Source Code Display
class MMF_DefaultGradient(MMF_UserGradient) {
public:
import "common.ulb"
; <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 gradient(i)
endfunc
default:
title = "MMF Default Gradient"
}
Methods inherited from class Object |
|
MMF_DefaultGradient
public MMF_DefaultGradient()
MMF_UserGradient
public void MMF_UserGradient(Generic pparent)
- Parameters:
pparent
- typically 'this' from the parent or zero
GetColour
public color GetColour(float i)
- Overrides:
GetColour
in class MMF_UserGradient
- Parameters:
i
- gradient index
- Returns:
- colour from gradient