public static void DrawSolidArc (Vector3 center, Vector3 normal, Vector3 from, float angle, float radius);

Parámetros

centerThe center of the circle.
normalThe normal of the circle.
fromThe direction of the point on the circumference, relative to the center, where the sector begins.
angleThe angle of the sector, in degrees.
radiusThe radius of the circle

Note: Use HandleUtility.GetHandleSize where you might want to have constant screen-sized handles.

Descripción

Draw a circular sector (pie piece) in 3D space.


Solid Arc in the Scene View.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961