cocos / cocos-engine

Cocos simplifies game creation and distribution with Cocos Creator, a free, open-source, cross-platform game engine. Empowering millions of developers to create high-performance, engaging 2D/3D games and instant web entertainment.
https://www.cocos.com/en/creator
Other
8.83k stars 2.05k forks source link

Add dof #17798

Closed GengineJS closed 2 weeks ago

github-actions[bot] commented 3 weeks ago

⚠️ Package size ⤴ 90 bytes, old: 5429685, new: 5429775

Interface Check Report

! WARNING this pull request has changed these public interfaces:

@@ -11015,8 +11015,13 @@
                  * @zh 相机的视图矩阵
                  */
                 get matView(): math.Mat4;
                 /**
+                 * @en The inverse of the view matrix of the camera
+                 * @zh 相机的逆视图矩阵
+                 */
+                get matViewInv(): math.Mat4;
+                /**
                  * @en The projection matrix of the camera
                  * @zh 相机的投影矩阵
                  */
                 get matProj(): math.Mat4;