-
-
管线转弯半径
- Default Value:
Example
// 获取管线转弯半径
const cornerRadius = this.cornerRadius;
// 设置管线转弯半径
this.cornerRadius = 0.5;
-
-
获取/设置拐角分割面数,数值越大拐角越平滑(必须是整数)
- Default Value:
Example
// 获取拐角分割面数
const cornerSplit = this.cornerSplit;
// 设置拐角分割面数
this.cornerSplit = 20;
-
-
获取/设置本地坐标系下线路面的朝向
Example
// 获取朝向
const facingDirection = this.facingDirection;
// 设置朝向
this.facingDirection = [0, 0, 1];
-
-
开启/关闭 Frenet 模式
- Default Value:
-
-
获取/设置管线精细度,数值越大拐角越精细(必须是大于2的整数)
- Default Value:
Example
// 获取管线精细度
const radialSegments = this.radialSegments;
// 设置管线精细度
this.radialSegments = 16;
-
-
管线半径(单位:米)
- Default Value:
Example
// 获取管线半径
const radius = this.radius;
// 设置管线半径
this.radius = 1.0;
-
-
获取/设置起始角度值(沿着管线路径方向顺时针旋转的角度)
- Default Value:
Example
// 获取起始角度值
const startDegree = this.startDegree;
// 设置起始角度值
this.startDegree = 90;