2016-07-27 5 views

答えて

1

document.querySelector('a-videosphere').getAttribute('rotation')とすることができます。結果は度で表した{x, y, z}オブジェクトになります。

THREE.Vector3オブジェクトをラジアンで直接入力する場合は、document.querySelector('a-videosphere').object3D.rotationを使用できます。

関連する問題