 | Vector2IAddition Operator (Vector2I, Int32) |
Adds the passed value to each component of the passed vector.
Namespace: Slash.Math.Algebra.VectorsAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic static Vector2I operator +(
Vector2I a,
int b
)
Public Shared Operator + (
a As Vector2I,
b As Integer
) As Vector2I
public:
static Vector2I operator +(
Vector2I a,
int b
)
static let inline (+)
a : Vector2I *
b : int : Vector2I
Parameters
- a
- Type: Slash.Math.Algebra.VectorsVector2I
Vector to add the value to. - b
- Type: SystemInt32
Integer value to add.
Return Value
Type:
Vector2I
Vector where each component is the sum of the particular component of the passed vector plus the passed
value.
See Also