Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

EditorCameraUtils.GetRenderersFilteringResults

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public static void GetRenderersFilteringResults(ReadOnlySpan<int> rendererIDs, Span<bool> results);

Parameters

rendererIDs Span containing Renderers' instance IDs.
results Output Span. If an element is true, it indicates that the Renderer element of the input aray should be rendered under the current SceneView scene filtering settings.

Description

Returns the SceneView scene filtering results for a specified NativeArray of Renderer instance IDs.

This function retrieves the SceneView scene filtering results for a group of Renderers.