Wes*_*ley 20
a的旋转Sprite由其材料的 rotation参数设置.例如,像这样:
var material = new THREE.SpriteMaterial( {
color: 0xffffff,
map: texture,
rotation: Math.PI / 4
} );
var sprite = new THREE.Sprite( material );
Run Code Online (Sandbox Code Playgroud)
three.js r.67
| 归档时间: |
|
| 查看次数: |
3949 次 |
| 最近记录: |