Documentation

Unity Engine

Unity Engine

DrawGizmos(Camera, GizmoSubset)

Schedules the drawing of a subset of Gizmos (before or after post-processing) for the given Camera.
Read time 1 minuteLast updated 2 months ago

Definition

public void DrawGizmos(Camera camera, GizmoSubset gizmoSubset)

Parameters

camera

The camera of the current view.

gizmoSubset

Set to GizmoSubset.PreImageEffects to draw Gizmos that should be affected by postprocessing, or GizmoSubset.PostImageEffects to draw Gizmos that should not be affected by postprocessing. See also: GizmoSubset.