Thursday, March 19, 2026

openspace command convention

Quick note to self - when we want to use the built-in fadeIn or fadeOut commands, we can't use the name of the object as seen in the info tab - like Scene.Moon here,


We will get errors like
Error when calling script 'openspace.fadeIn': Could not find property 'Scene.Moon.Enabled'

Checking the script log, we need to append .Renderable to that name, like

openspace.fadeOut("Scene.Moon.Renderable", 5)

No comments:

Post a Comment