I have been using this (now meta-) code once before, but cannot find in my projects :-/
var isrLamp= self.app.root.findByName("IsrLamp02"); isrLamp.light.SHADOWUPDATE_THISFRAME();
- so how to write it correctly? Tried a broad search - but fruitless
By constructor does not work either:
isrLamp.light = new pc.SHADOWUPDATE_THISFRAME();