SOURCE

console 命令行工具 X clear

                    
>
console
console.clear();
<a-scene renderer="antialias:true;">
    <a-camera position="0 6 14"></a-camera>
    <a-text text="value:TownScaper;" align="center" scale="5 4 5" rotation="-90 0 0" position="0 0 4"></a-text>
    <a-text text="value:Press W/A/S/D key to move;" align="center" scale="3 2 3" rotation="-90 0 0" position="0 0 4.8"></a-text>
    <a-entity
        rotation="0 210 0"
        scale="-1 1 1"
        obj-model="obj:url(https://ax.minicg.com/models/town/wen.obj);"
        shadow="receive:true"
        material="shader:flat; wireframe:true; transparent:true; opacity:.4;"
    ></a-entity>
    <a-entity light="type:ambient; color:#EEF; intensity:.2;"></a-entity>
    <a-entity light="type:directional; castShadow:true;" position="3 1 3"></a-entity>
    <a-sky color="#0CF"></a-sky>
</a-scene>s

本项目引用的自定义外部资源