position | The area to draw the camera within in GUI coordinates. |
camera | The camera to draw. |
drawMode | How the camera is drawn (textured, wireframe, etc.). |
Draws a camera inside a rectangle.
camera
. It sets the camera's pixelRect to position
.Note: Use HandleUtility.GetHandleSize where you might want to have constant screen-sized handles.