LoginSignup
1
2

More than 5 years have passed since last update.

three.js ヘルパーの表示(GridHelper, AxisHelper)

Posted at

スクリーンショット 2016-06-17 14.51.03.png

hoge.js

    var scene = new THREE.Scene();

    // gridHelper 
    gridHelper = new THREE.GridHelper(200, 50);  // 引数は サイズ、1つのグリッドの大きさ
    scene.add(gridHelper);

    // axisHelper
    axisHelper = new THREE.AxisHelper(1000);  // 引数は 軸のサイズ
    scene.add(axisHelper);

GridHelper
引数は サイズ、1つのグリッドの大きさ

AxisHelper
引数は 軸のサイズ

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2