claygl icon indicating copy to clipboard operation
claygl copied to clipboard

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

Open LuckcmWang opened this issue 5 years ago • 1 comments

不知道支持此功能吗

LuckcmWang avatar Oct 28 '19 07:10 LuckcmWang

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

chchwy avatar Oct 28 '19 10:10 chchwy