You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SceneNodeList class should not be in the global context. Actual attempts to access the SceneNodeList directly in a command script results in undefined (it's not actually a global).
Further, this should probably be an interface rather than a class as there does not appear to be a way to create new instances yourself.
Therefore I would recommend moving the SceneNodeList declaration into scenegraph.d.ts, (the only location the type is actually referenced) and simultaneously convert it to an interface.
The text was updated successfully, but these errors were encountered:
I've done this in the mega PR as well in order to not have many releases for this version. I'll (really) merge it later today (unless you open yet another issue that can get fixed with this PR 😉).
The
SceneNodeList
class should not be in the global context. Actual attempts to access theSceneNodeList
directly in a command script results inundefined
(it's not actually a global).Further, this should probably be an interface rather than a class as there does not appear to be a way to create new instances yourself.
Therefore I would recommend moving the
SceneNodeList
declaration intoscenegraph.d.ts
, (the only location the type is actually referenced) and simultaneously convert it to an interface.The text was updated successfully, but these errors were encountered: