最終更新:2021-03-25 (木) 17:39:01 (1126d)  

THREE.BoxGeometry
Top / THREE.BoxGeometry

the quadrilateral primitive geometry class

https://threejs.org/docs/#api/en/geometries/BoxGeometry

BoxGeometry(width : Float, height : Float, depth : Float, widthSegments : Integer, heightSegments : Integer, depthSegments : Integer)

コンストラクタ

  • widthWidth; that is, the length of the edges parallel to the X axis. Optional; defaults to 1.
    heightHeight; that is, the length of the edges parallel to the Y axis. Optional; defaults to 1.
    depthDepth; that is, the length of the edges parallel to the Z axis. Optional; defaults to 1.
    widthSegmentsNumber of segmented rectangular faces along the width of the sides. Optional; defaults to 1.
    heightSegmentsNumber of segmented rectangular faces along the height of the sides. Optional; defaults to 1.
    depthSegmentsNumber of segmented rectangular faces along the depth of the sides. Optional; defaults to 1.