Scripted Atmospheric Plug-ins

Scripted Atmospheric plug-ins can only extend existing Atmospheric plug-ins.

A scripted Atmospheric plug-in is declared by specifying the <superclass> as atmospheric .

SCRIPT

plugin atmospheric myFogEnv
    name:"Super Fog Env"
    classID:#(64433,27761)
    extends:Fog version:1 replaceUI:true
(
    parameters main rollout:params
    (
        fogcol type:#color animatable:true ui:col
        on fogcol set val do delegate.fog_color = val
    )
    rollout params "Super Fog Parameters"
    (
        colorpicker col "Fog Color"
    )
    on create do delegate.fog_type = 1
)