8,330
edits
Paradox-01 (talk | contribs) m (how to add a button on a PPG) |
Paradox-01 (talk | contribs) (adding a few object and scene fundamentals) |
||
Line 128: | Line 128: | ||
[...] | [...] | ||
===Object and scene fundamentals=== | |||
logmessage selection.count | |||
logmessage selection(0).Name | |||
logmessage selection(0).Materials(0).Name | |||
logmessage selection(0).Materials(0).Library.name | |||
logmessage selection(0).Materials(0).shaders(0).name | |||
logmessage selection(0).Materials(0).CurrentImageClip.source.filename.value | |||
logmessage selection(0).Materials(0).CurrentImageClip.source.Parameters("XRes").Value | |||
logmessage selection(0).Material.CurrentImageClip.source.Parameters("YRes").Value | |||
logmessage selection(0).Material.CurrentUV.name | |||
logmessage selection(0).activeprimitive.geometry.clusters(0).name | |||
' look for UV cluster names | |||
' xsi-generated: "Texture_Coordinates_AUTO" | |||
' onisplit-generated: "NodeProperties" | |||
logmessage selection(0).sclx.value | |||
logmessage selection(0).scly.value | |||
logmessage selection(0).sclz.value | |||
logmessage selection(0).rotx.value | |||
logmessage selection(0).roty.value | |||
logmessage selection(0).rotz.value | |||
logmessage selection(0).posx.value | |||
logmessage selection(0).posy.value | |||
logmessage selection(0).posz.value | |||
logmessage selection(0).rotorder.value | |||
'''get all material libraries and materials | |||
for each ml in Application.ActiveProject.ActiveScene.MaterialLibraries | |||
logmessage ml | |||
for each m in ml.items | |||
logmessage m.name ' (material) | |||
next | |||
logmessage "--------------------------" | |||
next | |||
' INFO : Sources.Materials.DefaultLib | |||
' INFO : Scene_Material | |||
' INFO : sosMatBarrier | |||
' INFO : sosMatBlackness | |||
' INFO : sosMatDanger | |||
' INFO : sosMatGhost | |||
' INFO : sosMatImpassable | |||
' INFO : sosMatStairs | |||
' INFO : -------------------------- | |||
' INFO : Sources.Materials.MaterialLibrary | |||
' INFO : AIR_STAIRWALL_LOB1 | |||
' INFO : AIR_WAITSEAT3 | |||
' INFO : AIR_WAITSEAT2 | |||
' INFO : COLLISION | |||
' INFO : -------------------------- | |||
edits