都快忘了格式 解释一两句。

plugin helper getsetHandlerTest

name:"DummyEx"

classID:#(1453456,5432110)

category:"Scripted Primitives"

extends:dummy
(
parameters main rollout:params

(

--type:#node subAnim:true

fill type:#node subAnim:true   ----这里是内部名字还有类型 在在下面叫他等于 控件的名字。

back type:#node subAnim:true

height type:#float animatable:true default:10 ui:height

spread type:#float animatable:true default:10 ui:spread

on height set val do

(

key.pos.z = val

back.pos.z = val * 1.5

fill.pos.z = val * 0.5

)

)

rollout params "Light Parameters"

(

spinner height "Height"

spinner spread "Spread"

)
)

你可能感兴趣的:(格式)