Function Resource.setupLocalToScene
This method is called when a resource with resourceLocalToScene
enabled is loaded from a PackedScene
instantiation. Its behavior can be customized by overriding setupLocalToScene
from script.
For most resources, this method performs no base logic. ViewportTexture
performs custom logic to properly set the proxy texture and flags in the local viewport.
void setupLocalToScene() nothrow @nogc;