position | Handles.matrix 空间中手柄的位置。 |
rotation | Handles.matrix 空间中手柄的旋转。 |
size | The size of the handle in the space of Handles.matrix. Use HandleUtility.GetHandleSize if you want a constant screen space size. |
controlID | 手柄的控件 ID。 |
eventType | The type of event for the handle to act on. You can only use this function with EventType.Repaint. |
Creates a square at a position and rotation with a specified size.