# GizmoInfo

> GizmoInfo contains information about the Scene View gizmo and icon for a component type.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor](/engine/6000.3/script-reference/unityeditor.md)
* **Assembly:** UnityEditor
* **Implements:** [IComparable](https://learn.microsoft.com/dotnet/api/system.icomparable)

```csharp
public class GizmoInfo : IComparable
```

## Remarks

See [GizmoUtility](/engine/6000.3/script-reference/unityeditor/gizmoutility.md) for an example.

## Properties

| Property                                                                              | Description                                                                                       |
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
| [gizmoEnabled](/engine/6000.3/script-reference/unityeditor/gizmoinfo/gizmoenabled.md) | Toggle gizmo visibility in the Scene View for components of this type.                            |
| [hasGizmo](/engine/6000.3/script-reference/unityeditor/gizmoinfo/hasgizmo.md)         | Defines whether a component type renders any gizmos in the Scene View.                            |
| [hasIcon](/engine/6000.3/script-reference/unityeditor/gizmoinfo/hasicon.md)           | Defines whether a component type renders an icon in the Scene View.                               |
| [iconEnabled](/engine/6000.3/script-reference/unityeditor/gizmoinfo/iconenabled.md)   | Toggle icon visibility in the Scene View for components of this type.                             |
| [name](/engine/6000.3/script-reference/unityeditor/gizmoinfo/name.md)                 | The display name for the type represented by this GizmoInfo.                                      |
| [script](/engine/6000.3/script-reference/unityeditor/gizmoinfo/script.md)             | The MonoBehaviour script asset corresponding to the component type represented by this GizmoInfo. |
| [thumb](/engine/6000.3/script-reference/unityeditor/gizmoinfo/thumb.md)               | A preview image for the component type.                                                           |

## Methods

| Method                                                                          | Description                                                                  |
| ------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| [CompareTo](/engine/6000.3/script-reference/unityeditor/gizmoinfo/compareto.md) | Returns an integer value comparing the name property of two GizmoInfo types. |
