# Vector2

> Struct

Inherited Members

* [Equals(object)](https://learn.microsoft.com/dotnet/api/system.valuetype.equals)

* [GetHashCode()](https://learn.microsoft.com/dotnet/api/system.valuetype.gethashcode)

* [ToString()](https://learn.microsoft.com/dotnet/api/system.valuetype.tostring)

* [Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\))

* [GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype)

* [ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals)

***

Namespace: UnityEngine.Pixyz.Geom

```csharp
[Serializable]
public struct Vector2
```

## Constructors

### Vector2(Point2)

```csharp
public Vector2(Point2 value)
```

Parameters

| Type                    | Name  | Description |
| ----------------------- | ----- | ----------- |
| [Point2](./geom_point2) | value |             |

## Fields

### \_base

```csharp
public Point2 _base
```

Returns

| Type                    | Description |
| ----------------------- | ----------- |
| [Point2](./geom_point2) |             |

## Operators

### implicit operator Point2(Vector2)

```csharp
public static implicit operator Point2(Vector2 v)
```

Parameters

| Type                      | Name | Description |
| ------------------------- | ---- | ----------- |
| [Vector2](./geom_vector2) | v    |             |

Returns

| Type                    | Description |
| ----------------------- | ----------- |
| [Point2](./geom_point2) |             |

### implicit operator Vector2(Point2)

```csharp
public static implicit operator Vector2(Point2 v)
```

Parameters

| Type                    | Name | Description |
| ----------------------- | ---- | ----------- |
| [Point2](./geom_point2) | v    |             |

Returns

| Type                      | Description |
| ------------------------- | ----------- |
| [Vector2](./geom_vector2) |             |
