public static CubeCap ( int controlID, Vector3 position, |
||
controlID | int | The control ID for the handle. |
position | Vector3 | The world-space position of the handle's start point. |
rotation | The rotation of the handle. | |
size | float | The size of the handle in world-space units. |
리턴 | void |
public static void CubeCap(int controlID, Vector3 position, Quaternion rotation, float size)
{
if (Event.current.type == EventType.Repaint)
{
Graphics.DrawMeshNow(s_CubeMesh, StartCapDraw(position, rotation, size));
}
}