What's New
- Extracted WebGL implementation of Vertex and Index buffer into separate modules (#3982)
- Improve
ModelComponent
typings (#4002) - Add
build:publish
script target (#3999) - Move
GraphicsDevice
to webgl subfolder (#4009) - Initial implementation of
WebglGraphicsDevice
class (#4010) - Improve JSDoc comments for sound modules (#4008)
GraphicsDevice
properties refactor (#4013)- Extracted
WebglShader
andWebglTexture
fromWebglGraphicsDevice
(#4014) - Improve Application JSDoc comments (#4012)
- Switch box-reflection example to refresh envmap every 10 frames (#3992)
- Improve WebXR JSDoc comments (#4015)
- More IntelliSense improvements (#4019)
- Add app to entity on
SceneParser#parse
(#4025) (@Sarletor) - Add missing component properties to typings (#4029)
- Remove type aliases from
build/playcanvas.d.ts
#4011 (@kungfooman) instantiateRenderEntity
sets up render assets on render components (#4039)- Changed
console.warn
toDebug.warn
inScriptComponent.create
(#4042) (@Sarletor) - Recompile basis transcoder 1.16.2 with emsdk 3.1.5 (#4045)
- Small refactor to move temp array to where its used from the
Application
(#4049) - Add application bake settings (#4048)
Material#clone
: return polymorphicthis
type (#4016) (@kungfooman)- Remove type aliases from TypeScript declarations (#4055)
- Remove unused auto instancing code (#4060) (@erikdubbelboer)
- Capitalize callback types (#4072)
- anim-controller: fix transitions sorting / minimize code duplication (#4057) (#4077) (@kungfooman)
DeviceCache
to store per device shared resources (#4028)- Remove
DepthMaterial
(#4052)
Bug Fixes
- Type of cache parameter for Http functions (#3981)
- Skybox intensity fix (#3980)
- Corrections to vector distance docs (#3990)
- Fix source maps (#3952) (@kungfooman)
- Ambient lighting fix (#3998)
RenderComponent#clone
should respect enabled property (#4004)- Set failed flag in
setShader()
(#4006) - Docs tweaks for
RefCountedObject
(#4017) - Spelling mistakes (#4018)
- [FIX] Revert changes to
ScriptType
and patch type declarations (#4023) - [FIX] Return type for
AssetRegistry#find
(#4036) - XR session requests stencil buffer (#4038)
- Fix to render asset id assignment to component when creating glb instance (#4041)
- Fix error when a non image element is assigned to
imageEntity
on button. (#4001) (@rob5300) - Removed children are no longer marked as enabled in hierarchy (#4047)
- Lightmapper fixes (#4063)
- Fixes related to TypeScript compiler v4.6 (#4071)
- update the
watch:iframes
script (#4073) - Fix for layer masks in cloned anim components (#4075)
- Entity.enable=true does not activate entities not connected to scene hierarchy (#4054)
- Fix
AudioContext
not being properly resumed on iOS 15. (#4062)