Plane(widthopt, heightopt, paramopt)

new Plane(widthopt, heightopt, paramopt)

平面
Parameters:
Name Type Attributes Default Description
width number <optional>
1.0 宽度,单位为米
height number <optional>
1.0 高度,单位为米
param object <optional>
初始参数
Properties
Name Type Attributes Default Description
widthSegments number <optional>
1 宽度方向细分数
heightSegments number <optional>
1 高度方向细分数

Members

height :number

设置/获取 平面高度(y方向 单位:米)
Default Value:
  • 1.0

width :number

设置/获取 平面宽度(x方向 单位:米)
Default Value:
  • 1.0