---
title: NormalizeSafe(quaternion4)
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/quaternion4extensions/normalizesafe
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/quaternion4extensions/normalizesafe.md
last_updated: 2026-11-30
generated_at: 2026-11-30T21:24:58.223Z
locale: en-us
---

# NormalizeSafe(quaternion4)

> Returns the normalized quaternion4, or the identity for the lanes whose squared length isn't greater than FLT_MIN_NORMAL.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Animations](/engine/7000.0/script-reference/unity/animations.md)
* **Assembly:** [UnityEngine.AnimationCoreModule](/engine/7000.0/script-reference/modules/unityengine-animationcoremodule.md)

```csharp
public static quaternion4 NormalizeSafe(this quaternion4 q)
```

### Parameters

**** (\[quaternion4]\(/engine/7000.0/script-reference/unity/animations/quaternion4)): The [quaternion4](/engine/7000.0/script-reference/unity/animations/quaternion4.md) to normalize.

### Returns

| Type                                                                           | Description                                                                                                                                      |
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| [quaternion4](/engine/7000.0/script-reference/unity/animations/quaternion4.md) | A [quaternion4](/engine/7000.0/script-reference/unity/animations/quaternion4.md) in which each quaternion has a length of 1, or is the identity. |
