 | Vector2FAdd 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 Vector2F Add(
float addX,
float addY
)
Public Function Add (
addX As Single,
addY As Single
) As Vector2F
public:
Vector2F Add(
float addX,
float addY
)
member Add :
addX : float32 *
addY : float32 -> Vector2F
Parameters
- addX
- Type: SystemSingle
Value to add to x. - addY
- Type: SystemSingle
Value to add to y.
Return Value
Type:
Vector2FSum of
addX and
addY.
See Also