# GetRenderersHiddenResultBits

> Gets the scene visibility status of renderers.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Rendering](/engine/6000.6/script-reference/unityeditor/rendering.md)
* **Assembly:** UnityEditor.CoreModule

## GetRenderersHiddenResultBits(ReadOnlySpan\<int>, Span\<ulong>)

Gets the scene visibility status of renderers.

> **Warning:**
>
> **Removed.** GetRenderersHiddenResultBits(ReadOnlySpan\\\<int\\>) is obsolete. Use GetRenderersHiddenResultBits(ReadOnlySpan\\\<EntityId\\>) instead.

```csharp
public static void GetRenderersHiddenResultBits(ReadOnlySpan<int> rendererIDs, Span<ulong> resultBits)
```

### Parameters

**** (\[ReadOnlySpan\<int>]\(https\://learn.microsoft.com/dotnet/api/system.readonlyspan-1)): The span of renderer [instance IDs](/engine/6000.6/script-reference/unityengine/object/getinstanceid.md) to check.**** (\[Span\<ulong>]\(https\://learn.microsoft.com/dotnet/api/system.span-1)): The span of visibility statuses the method returns. If a bit is set to one, the corresponding renderer in the `rendererIDs` parameter is not visible in the scene view. The length of the span must be `(rendererIDs.Length + 63) / 64`. Otherwise an exception will be thrown.

### Remarks

Refer to [SceneVisibility](/engine/6000.6/manual/working-with-scenes/scenes-manage-gameobjects/scene-visibility.md) for more information about scene visibility.

## GetRenderersHiddenResultBits(ReadOnlySpan\<EntityId>, Span\<ulong>)

Gets the scene visibility status of renderers.

```csharp
public static void GetRenderersHiddenResultBits(ReadOnlySpan<EntityId> rendererIDs, Span<ulong> resultBits)
```

### Parameters

**** (\[ReadOnlySpan\<EntityId>]\(https\://learn.microsoft.com/dotnet/api/system.readonlyspan-1)): The span of renderer [instance IDs](/engine/6000.6/script-reference/unityengine/object/getinstanceid.md) to check.**** (\[Span\<ulong>]\(https\://learn.microsoft.com/dotnet/api/system.span-1)): The span of visibility statuses the method returns. If a bit is set to one, the corresponding renderer in the `rendererIDs` parameter is not visible in the scene view. The length of the span must be `(rendererIDs.Length + 63) / 64`. Otherwise an exception will be thrown.

### Remarks

Refer to [SceneVisibility](/engine/6000.6/manual/working-with-scenes/scenes-manage-gameobjects/scene-visibility.md) for more information about scene visibility.
