 | Vector2IAdd Method |
Adds the passed values to the x and y value.
Namespace: Slash.Math.Algebra.VectorsAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic Vector2I Add(
int addX,
int addY
)
Public Function Add (
addX As Integer,
addY As Integer
) As Vector2I
public:
Vector2I Add(
int addX,
int addY
)
member Add :
addX : int *
addY : int -> Vector2I
Parameters
- addX
- Type: SystemInt32
Value to add to x. - addY
- Type: SystemInt32
Value to add to y.
Return Value
Type:
Vector2ISum of
addX and
addY.
See Also