Skip to content
New issue

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

怎么修改一个已经创建了的cube的颜色呢? #109

Open
LuckcmWang opened this issue Oct 28, 2019 · 1 comment
Open

怎么修改一个已经创建了的cube的颜色呢? #109

LuckcmWang opened this issue Oct 28, 2019 · 1 comment

Comments

@LuckcmWang
Copy link

不知道支持此功能吗

@chchwy
Copy link
Contributor

chchwy commented Oct 28, 2019

var cube = app.createCube();
cube.material.set('color', [1, 0, 0, 1]); // 紅色

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants