文档

Unity Engine

Unity Engine

DrawGizmos(Camera, GizmoSubset)

Schedules the drawing of a subset of Gizmos (before or after post-processing) for the given Camera.
阅读时间1 分钟最后更新于 1 个月前

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.