请不要单独购买,在终章会放出静态文件,目前只是放出代码
/* 背景类将场景的清晰颜色设置为特定颜色。 */
exportclassBackground{
constructor(y) {
this.scene = y;
this.scene.clearColor = new BABYLON.Color3(9 / 255, 33 / 255, 69 / 255)
}
}
请不要单独购买,在终章会放出静态文件,目前只是放出代码
/* 背景类将场景的清晰颜色设置为特定颜色。 */
exportclassBackground{
constructor(y) {
this.scene = y;
this.scene.clearColor = new BABYLON.Color3(9 / 255, 33 / 255, 69 / 255)
}
}