UNPKG

@three3d/tools

Version:

@three3d/tools 提供了 ThreeJS 常用的工具库

28 lines (16 loc) 751 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@three3d/tools](./tools.md) &gt; [transformUVs](./tools.transformuvs.md) ## transformUVs() function 对 uv 数组进行变换 **Signature:** ```typescript export declare function transformUVs(uvs: ArrayLike<number>, transfrom: UVTransformOptions, options?: ConfigUVOptions | null): ArrayLike<number>; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | uvs | ArrayLike&lt;number&gt; | | | transfrom | [UVTransformOptions](./tools.uvtransformoptions.md) | | | options | [ConfigUVOptions](./tools.configuvoptions.md) \| null | _(Optional)_ | **Returns:** ArrayLike&lt;number&gt;