EditorCameraUtils.GetRenderersHiddenResultBits

Declaration

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

Parameters

rendererIDs The span of renderer instance IDs to check.
resultBits 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.

Description

Gets the scene visibility status of renderers.

Refer to SceneVisibility for more information about scene visibility.


Did you find this page useful? Please give it a rating: