-
-
Notifications
You must be signed in to change notification settings - Fork 310
Migration Guide
ChenMo edited this page Nov 1, 2022
·
27 revisions
- Sprite region origin should adjust from letf-top to left-bottom https://github.com/oasis-engine/engine/pull/809
- Math library
cloneTo
has deleted, should usecopyFrom
instead https://github.com/oasis-engine/engine/pull/844 - Math library
setValue
has deleted, should useset
instead https://github.com/oasis-engine/engine/pull/844 -
CameraClearFlags
has been modifiedCameraClearFlags.DepthColor
->CameraClearFlags.All
,CameraClearFlags.Depth
->CameraClearFlags.DepthStencil
by @cptbtptpbcptdtptp in https://github.com/oasis-engine/engine/pull/843
- The
physics
param ofWebGLEngine
andEngine
's constructor is removed, Please usePhysicsManager.initialize()
to set the backend physics engine. - Rename TextureCubeMap to TextureMap.
-
RenderColorTexture
andRenderDepthTexture
are removed, thecolorTextures
anddepthTexture
of theRenderTarget
need to adjust fromRenderColorTexture
andRenderDepthTexture
toTexture
.