UNPKG

@three3d/tools

Version:

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

16 lines (9 loc) 487 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@three3d/tools](./tools.md) &gt; [VectorToIVector](./tools.vectortoivector.md) ## VectorToIVector type 向量类型转向量接口类型 **Signature:** ```typescript export type VectorToIVector<V extends VectorInstance> = V extends Vector4 ? IVector4 : (V extends Vector3 ? IVector3 : IVector2); ``` **References:** [VectorInstance](./tools.vectorinstance.md)