Click or drag to resize

Vector2MultiplyAdd Method

Combined multiplication and addition

Namespace:  Microsoft.DirectX
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 18.04.00
Syntax
C#
public static Vector2 MultiplyAdd(
	Vector2 v,
	double s,
	Vector2 o
)

Parameters

v
Type: Microsoft.DirectXVector2
Source Vector2
s
Type: SystemDouble
Scale
o
Type: Microsoft.DirectXVector2
Offset Vector2

Return Value

Type: Vector2
Result Vector2 of v * s + o
See Also