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.56k stars 1.99k forks source link

[原生] 3D摄像机的 rect 属性在原生平台无效. #17863

Open finscn opened 4 hours ago

finscn commented 4 hours ago

Cocos Creator version

3.8.4

System information

all

Issue description

在 小游戏 和 web中 设置 3d camera 的 rect 有效, 同样的代码 在 原生ios 和安卓平台 无效 (也不会报错)

Relevant error log output

No response

Steps to reproduce

如上

Minimal reproduction project

No response

finscn commented 2 hours ago

补充下 , 我是通过代码调整的. 比如

camera3D.rect = cc.rect(.....)