Hello
I’m just playing around with PlayCanvas and declaring the types in TypeScript while I’m at it. I noticed some inconsistencies with the API that do not match with the actual playcanvas engine. Below is a list of inconsistencies and incomplete classes according to my opinion. I’ll add to the sources list if I find any others in the coming days.
Would you consider updating the API please
Thanks in advance.
Kind regards.
-J
Sources:
- https://developer.playcanvas.com/en/api/pc.Picker.html prepare method refers to a not documented class pc.Camera
- https://developer.playcanvas.com/en/api/pc.Camera.html is referred to by pc.Picker
- https://developer.playcanvas.com/en/api/pc.AnimationComponentSystem.html
- https://developer.playcanvas.com/en/api/pc.CameraComponentSystem.html
- https://developer.playcanvas.com/en/api/pc.CollisionComponentSystem.html
- https://developer.playcanvas.com/en/api/pc.ComponentSystem.html
- https://developer.playcanvas.com/en/api/pc.ElementComponentSystem.html
- https://developer.playcanvas.com/en/api/pc.AudioListenerComponentSystem.html
- https://developer.playcanvas.com/en/api/pc.AudioSourceComponentSystem.html
- https://developer.playcanvas.com/en/api/pc.ModelComponentSystem.html
- https://developer.playcanvas.com/en/api/pc.ParticleComponentComponentSystem.html
- https://developer.playcanvas.com/en/api/pc.ScreenComponentSystem.html
- https://developer.playcanvas.com/en/api/pc.ScriptComponentSystem.html
- https://developer.playcanvas.com/en/api/pc.ZoneComponentSystem.html
- https://developer.playcanvas.com/en/api/pc.MouseEvent.html#button refers to pc.MOUSEBUTTON which does not exist
- https://developer.playcanvas.com/en/api/pc.MeshInstance.html The “node” property of pc.MeshInstance (retrieved by pc.Picker its getSelection(x,y)) does not start with an underscore and isn’t documented in pc.MeshInstance