深浅模式
LightLine 流光线条
基础用法
说明
用于绘制线条,支持实线、虚线。
安装
sh
npm install @poggi/three-entity
pnpm add @poggi/three-entity
yarn add @poggi/three-entityloading
API
Methods
constructor(options: ILightLineConstructorOption)
构造函数
Interfaces
ILightLineConstructorOption
| 属性名 | 说明 | 类型 | 是否必选 | 默认值 |
|---|---|---|---|---|
| points | 点位集合 | Vector3[] | 是 | - |
| img | 贴图 | Texture | 是 | - |
| size | 尺寸 | number | 是 | - |
