UNPKG

@three3d/tools

Version:

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

28 lines (16 loc) 682 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@three3d/tools](./tools.md) &gt; [transformUV](./tools.transformuv.md) ## transformUV() function 变换单个uv **Signature:** ```typescript export declare function transformUV(uv: Vector2, transfrom: UVTransformOptions, options?: ConfigUVOptions | null): Vector2; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | uv | Vector2 | | | transfrom | [UVTransformOptions](./tools.uvtransformoptions.md) | | | options | [ConfigUVOptions](./tools.configuvoptions.md) \| null | _(Optional)_ | **Returns:** Vector2