We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.8.2
mac sonoma, chrome, ios 12
将一个相机的targetTexture设置为RenderTexture,然后再设置为SpriteFrame的texutre,结果在web和ios上方向是相反的。
const rt = new RenderTexture() rt.initialize({ width: 300, height: 200 }) this.offlineCamera.targetTexture = rt const sp = this.getComponent(Sprite) const frame = new SpriteFrame() frame.texture = this.offlineCamera.targetTexture frame.flipUVY = true // 为了让在浏览器上是正向的 sp.spriteFrame = frame
No response
如问题描述。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Cocos Creator version
3.8.2
System information
mac sonoma, chrome, ios 12
Issue description
将一个相机的targetTexture设置为RenderTexture,然后再设置为SpriteFrame的texutre,结果在web和ios上方向是相反的。
Relevant error log output
No response
Steps to reproduce
如问题描述。
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: