What would be the best way to set a parameter type to allow any BJS camera type?
For example.
interface IEngineCacheView{
uid : string
camera : FreeCamera | UniversalCamera | ArcRotateCamera ...(others)
}
I don’t want to use “any”, what would be the best option here?