GetRenderersHiddenResultBits
Gets the scene visibility status of renderers.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Rendering
- Assembly: UnityEditor.CoreModule
GetRenderersHiddenResultBits(ReadOnlySpan<int>, Span<ulong>)
Gets the scene visibility status of renderers.
public static void GetRenderersHiddenResultBits(ReadOnlySpan<int> rendererIDs, Span<ulong> resultBits)
Parameters
The span of renderer instance IDs to check.
The span of visibility statuses the method returns. If a bit is set to one, the corresponding renderer in the parameter is not visible in the scene view. The length of the span must be . Otherwise an exception will be thrown.
rendererIDs(rendererIDs.Length + 63) / 64Remarks
Refer to SceneVisibility for more information about scene visibility.
GetRenderersHiddenResultBits(ReadOnlySpan<EntityId>, Span<ulong>)
Gets the scene visibility status of renderers.
public static void GetRenderersHiddenResultBits(ReadOnlySpan<EntityId> rendererIDs, Span<ulong> resultBits)
Parameters
The span of renderer instance IDs to check.
The span of visibility statuses the method returns. If a bit is set to one, the corresponding renderer in the parameter is not visible in the scene view. The length of the span must be . Otherwise an exception will be thrown.
rendererIDs(rendererIDs.Length + 63) / 64Remarks
Refer to SceneVisibility for more information about scene visibility.