Documentation

Unity Engine


User Manual

Script Reference

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 4 days 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.