Click or drag to resize

Vector2Multiply Method (Vector2, Double)

Scale the X and Y components of Vector2

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

Parameters

v
Type: Microsoft.DirectXVector2
Vector2 to scale
s
Type: SystemDouble
Scale

Return Value

Type: Vector2
Scaled Vector2
See Also