美文网首页
Threejs基本概念(二)Scene

Threejs基本概念(二)Scene

作者: Doter | 来源:发表于2017-08-05 14:30 被阅读0次

    属性一:background

    设置场景中的背景色
    scene.background= new THREE.Color(0x333333);

    Paste_Image.png

    如上图的背景色

    属性一:fog

    可以设置整个场景中的雾

    Paste_Image.png

    对应网址
    F12 可以进去看源码

    相关文章

      网友评论

          本文标题:Threejs基本概念(二)Scene

          本文链接:https://www.haomeiwen.com/subject/lygilxtx.html