设置材质球的材质,是第几个
for iii in 1 to 24 do ---24和材质球。
(
local tmn=(getMeditMaterial iii)
if geometry[i].material.name == tmn.name then (setMeditMaterial iii (geometry[i].material))
)
for iii in 1 to 24 do ---24和材质球。
(
local tmn=(getMeditMaterial iii)
if geometry[i].material.name == tmn.name then (setMeditMaterial iii (geometry[i].material))
)