What is the equivalent in legacy script to these APIs

I’m trying to convert the orvit-camera in starter project to the legacy script style.

There are two APIs I can’t find the their equivalents, such as



In legacy scripts the app is passed in the script constructor. So you can just remove this. from this.app...