Skip to content

StandardTubeGeometry 标准管道几何 ​

说明

与TubeGeometry不同,TubeGeometry的半径都是统一的,而它可以为每个节点设置不同半径,以实现更为特殊的一些效果,例如血管可视化、工业管道模拟等需要精确控制截面形状的应用。

安装 ​

sh
npm install @poggi/three-core
pnpm add @poggi/three-core
yarn add @poggi/three-core

基本用法 ​

loading

API ​

Methods ​

constructor(options: IContainerConstructorOption)

构造函数

Interfaces ​

IRenderOption

属性名说明类型是否必选默认值
points坐标集Vector3[]是-
tubularSegments管状段数number是-
raduis半径集number[]是-
radialSegments径向段数number是-
close是否闭合boolean否false