|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Objectcommon:Generic
mmf:MMF_UserGradient
class
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 |
|---|
public MMF_UserGradient(Generic pparent)
pparent - typically 'this' from the parent or zeropublic MMF_UserGradient()
| Method Detail |
|---|
public color GetColour(float i)
i - gradient index
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||