RenderDef (GUI item type)

Much like windowDef, but it can contain a 3D model (in the LWO format).

Additional properties

Example(s)

renderDef MarsRender {
    rect        0, 20, 640, 430
    visible     1
    backcolor   0, 0, 0, 0.4
    model       "models/wipes/planet2.lwo"
    needsRender     1
    modelRotate     0, time * 0.001, 0, 0
    modelOrigin     -80, 0, -25, 0
    viewOffset  -300, -28, 0, 0
    lightOrigin     0, 0, 0, 0
    lightColor  1, 1, 1, 1
    notime      1
    definevec4  "$marsRotate"   0, time * 0.001, 0, 0
    float starmove  0
}