Click or drag to resize

Vector2Multiply Method (Vector2, Vector2)

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,
	Vector2 s
)

Parameters

v
Type: Microsoft.DirectXVector2
Vector2 to scale.
s
Type: Microsoft.DirectXVector2
Vector2 containing the X and Y scale components.

Return Value

Type: Vector2
Scaled Vector2.
See Also