# Vector3D.NormalizeVector3D.NormalizeVector3D.NormalizeVector3D.Normalize Method

## Definition

Normalisiert die angegebene Vector3D-Struktur.Normalizes the specified Vector3D structure.

``````public:
void Normalize();``````
``public void Normalize ();``
``member this.Normalize : unit -> unit``
``Public Sub Normalize ()``

## Beispiele

Das folgende Beispiel zeigt, wie Sie normalisiert einen Vector3D Struktur.The following example shows how to normalize a Vector3D structure.

``````// Normalizes a Vector3D using the Normalize method.
// Returns a Vector3D.

Vector3D vector1 = new Vector3D(20, 30, 40);

vector1.Normalize();
// vector1 is approximately equal to (0.37139, 0.55709, 0.74278)
``````
``````' Normalizes a Vector3D using the Normalize method.
' Returns a Vector3D.

Dim vector1 As New Vector3D(20, 30, 40)

vector1.Normalize()
' vector1 is approximately equal to (0.37139, 0.55709)
``````

## Hinweise

Ein normalisiertes Vector3D behält die Richtung, aber dessen Größe wird `1`.A normalized Vector3D maintains its direction but its magnitude becomes `1`. Die resultierende Vector3D Einheitsvektor häufig aufgerufen wird.The resulting Vector3D is often called a unit vector. Ein Vector3D wird normalisiert, indem Sie unterteilen die Vector3D von dessen Größe.A Vector3D is normalized by dividing the Vector3D by its magnitude.