Struct Vector2
Inherited Members
Namespace: UnityEngine.Pixyz.Geom
Syntax
[Serializable]
public struct Vector2
Constructors
Vector2(Point2)
Declaration
public Vector2(Point2 value)
Parameters
| Type | Name | Description |
|---|---|---|
| Point2 | value |
Fields
_base
Declaration
public Point2 _base
Field Value
| Type | Description |
|---|---|
| Point2 |
Operators
implicit operator Vector2(Point2)
Declaration
public static implicit operator Vector2(Point2 v)
Parameters
| Type | Name | Description |
|---|---|---|
| Point2 | v |
Returns
| Type | Description |
|---|---|
| Vector2 |
implicit operator Point2(Vector2)
Declaration
public static implicit operator Point2(Vector2 v)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector2 | v |
Returns
| Type | Description |
|---|---|
| Point2 |