<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@three3d/tools](./tools.md) &gt; [FormatIVectorMemberToVector](./tools.formativectormembertovector.md)

## FormatIVectorMemberToVector type

如果 V 是 IVector 类型，则转为对应的 Vector 类型，否则，保持不变

**Signature:**

```typescript
export type FormatIVectorMemberToVector<V> = V extends IVector4 ? Vector4 : (V extends IVector3 ? Vector3 : (V extends IVector2 ? Vector2 : V));
```
