Click or drag to resize

Vector2Normalize Method (Vector2)

Vector2 normalization - make its length be 1

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

Parameters

v
Type: Microsoft.DirectXVector2
Vector2 to normalize

Return Value

Type: Vector2
Result of Vector2 normalization
See Also