 | Vector2FAddition Operator (Vector2F, Single) |
Adds the passed float 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 Vector2F operator +(
Vector2F a,
float b
)
Public Shared Operator + (
a As Vector2F,
b As Single
) As Vector2F
public:
static Vector2F operator +(
Vector2F a,
float b
)
static let inline (+)
a : Vector2F *
b : float32 : Vector2F
Parameters
- a
- Type: Slash.Math.Algebra.VectorsVector2F
Vector to add the float value to. - b
- Type: SystemSingle
Float value to add.
Return Value
Type:
Vector2F
Vector where each component is the sum of the particular component of the passed vector plus the passed float
value.
See Also