Struct Vector2d
Namespace: Unity.UIWidgets.ui
Syntax
public struct Vector2d
Constructors
Vector2d(Single, Single)
Declaration
public Vector2d(float x = 0F, float y = 0F)
Parameters
Type | Name | Description |
---|---|---|
System.Single | x | |
System.Single | y |
Fields
x
Declaration
public float x
Field Value
Type | Description |
---|---|
System.Single |
y
Declaration
public float y
Field Value
Type | Description |
---|---|
System.Single |
Operators
Addition(Vector2d, Vector2d)
Declaration
public static Vector2d operator +(Vector2d a, Vector2d b)
Parameters
Type | Name | Description |
---|---|---|
Vector2d | a | |
Vector2d | b |
Returns
Type | Description |
---|---|
Vector2d |
Subtraction(Vector2d, Vector2d)
Declaration
public static Vector2d operator -(Vector2d a, Vector2d b)
Parameters
Type | Name | Description |
---|---|---|
Vector2d | a | |
Vector2d | b |
Returns
Type | Description |
---|---|
Vector2d |