Method DrawCameraSceneViewOverlay
DrawCameraSceneViewOverlay(Object, SceneView, GetPreviewCamera)
Draw the overlay of a Camera
Declaration
public static void DrawCameraSceneViewOverlay(Object target, SceneView sceneView, CameraEditorUtils.GetPreviewCamera previewCameraGetter)
Parameters
Type | Name | Description |
---|---|---|
Object | target | The Camera that we want a preview |
SceneView | sceneView | The scene view where to draw it |
CameraEditorUtils.GetPreviewCamera | previewCameraGetter | The way to get the preview camera corresponding to the target |