8,323
edits
Paradox-01 (talk | contribs) (read and write text file, change position of object and scene fundamentals) |
Paradox-01 (talk | contribs) m (correction on hierarchy) |
||
Line 1,151: | Line 1,151: | ||
===Materials and textures=== | |||
====Get all targets of an image clip==== | |||
set imgClip = GetValue("Clips._marker_blackness_tga") | set imgClip = GetValue("Clips._marker_blackness_tga") | ||
set imgClipTargets = imgClip.GetShaderParameterTargets | set imgClipTargets = imgClip.GetShaderParameterTargets | ||
Line 1,162: | Line 1,162: | ||
====Get all material libraries and materials==== | |||
for each ml in Application.ActiveProject.ActiveScene.MaterialLibraries | for each ml in Application.ActiveProject.ActiveScene.MaterialLibraries | ||
logmessage ml | logmessage ml | ||
Line 1,188: | Line 1,188: | ||
====Check an object's main material for TwoSided-ness==== | |||
' test and toggles an object's main material for TwoSided-ness | ' test and toggles an object's main material for TwoSided-ness | ||
' this is also a prerequired test for transparency | ' this is also a prerequired test for transparency |
edits