Properties
Optional
arrowLineHeight
arrowLineHeight?: number
Optional
arrowLineLength
arrowLineLength?: number
Optional
arrowStyle
arrowStyle?: {
color?: ColorRepresentation;
opacity?: number;
}
Type declaration
Optional
color?: ColorRepresentation
Optional
opacity?: number
Optional
autoFromWorld
autoFromWorld?: boolean
Optional
distRatio
distRatio?: number
endPoint
endPoint: [number, number, number] | Vector3
Optional
fractionDigits
fractionDigits?: number
Optional
planePoint
planePoint?: [number, number, number] | Vector3
Optional
rulerLineStyle
rulerLineStyle?: LineMaterialParameters
Optional
showTextCb
showTextCb?: ((ptStart, ptEnd, dist, fractionDigits) => string)
Type declaration
- (ptStart, ptEnd, dist, fractionDigits): string
Parameters
ptStart: Vector3
ptEnd: Vector3
dist: number
fractionDigits: number
Returns string
Optional
sideLineLength
sideLineLength?: number
Optional
sideLineStyle
sideLineStyle?: LineMaterialParameters
startPoint
startPoint: [number, number, number] | Vector3
Optional
textAngleCb
textAngleCb?: ((ptStart, ptEnd, quat) => [{
angle: number;
axis: Vector3 | "x" | "y" | "z";
}])
Type declaration
- (ptStart, ptEnd, quat): [{
angle: number;
axis: Vector3 | "x" | "y" | "z";
}] Parameters
ptStart: Vector3
ptEnd: Vector3
quat: Quaternion
Returns [{
angle: number;
axis: Vector3 | "x" | "y" | "z";
}]
箭头高度, 为零不显示