var material:TextureMaterial = new TextureMaterial(new BitmapTexture(new BitmapData(32,32)));
var cube:CubeGeometry = new CubeGeometry(30, 30, 30, 1, 1, 1, false);
var mesh:Mesh = new Mesh(cube, material);
scene.addChild(mesh);
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
List of users who liked
22