UNPKG

@three3d/effect

Version:

@three3d/effect 提供了 ThreeJS 的特效

40 lines (28 loc) 1.37 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@three3d/effect](./effect.md) &gt; [createBlendBandGeometryData](./effect.createblendbandgeometrydata.md) ## createBlendBandGeometryData() function 根据 pathData 创建混合方式的 BandGeometry 所需要的数据 **Signature:** ```typescript export declare function createBlendBandGeometryData(pathData: PathData, options: CreateBandGeometryDataOptions, preGeoData?: BandGeometryData | null): { position: number[]; normal: number[]; uv: number[]; index: number[]; color: number[]; lineDistance: number[]; lengths: number[]; points: Vector3[]; tangents: Vector3[]; normals: Vector3[]; binormals: Vector3[]; }; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | pathData | [PathData](./effect.pathdata.md) | | | options | [CreateBandGeometryDataOptions](./effect.createbandgeometrydataoptions.md) | | | preGeoData | [BandGeometryData](./effect.bandgeometrydata.md) \| null | _(Optional)_ | **Returns:** { position: number\[\]; normal: number\[\]; uv: number\[\]; index: number\[\]; color: number\[\]; lineDistance: number\[\]; lengths: number\[\]; points: Vector3\[\]; tangents: Vector3\[\]; normals: Vector3\[\]; binormals: Vector3\[\]; }