C# Класс UnityCommonLibrary.Utility.GizmosUtility

Показать файл Открыть проект

Открытые методы

Метод Описание
DrawArrow ( Vector3 pos, Vector3 direction, Color color, float arrowHeadLength = 0.25f, float arrowHeadAngle = 20.0f ) : void
DrawArrow ( Vector3 pos, Vector3 direction, float arrowHeadLength = 0.25f, float arrowHeadAngle = 20.0f ) : void
DrawBounds ( Bounds b ) : void
RestoreColor ( ) : void

Restores the stored Gizmos color from StoreColor(Color)

StoreColor ( Color color ) : void

Stores the current Gizmos color and switches to a new color. Used in conjunction with RestoreColor

Описание методов

DrawArrow() публичный статический Метод

public static DrawArrow ( Vector3 pos, Vector3 direction, Color color, float arrowHeadLength = 0.25f, float arrowHeadAngle = 20.0f ) : void
pos UnityEngine.Vector3
direction UnityEngine.Vector3
color UnityEngine.Color
arrowHeadLength float
arrowHeadAngle float
Результат void

DrawArrow() публичный статический Метод

public static DrawArrow ( Vector3 pos, Vector3 direction, float arrowHeadLength = 0.25f, float arrowHeadAngle = 20.0f ) : void
pos UnityEngine.Vector3
direction UnityEngine.Vector3
arrowHeadLength float
arrowHeadAngle float
Результат void

DrawBounds() публичный статический Метод

public static DrawBounds ( Bounds b ) : void
b UnityEngine.Bounds
Результат void

RestoreColor() публичный статический Метод

Restores the stored Gizmos color from StoreColor(Color)
public static RestoreColor ( ) : void
Результат void

StoreColor() публичный статический Метод

Stores the current Gizmos color and switches to a new color. Used in conjunction with RestoreColor
public static StoreColor ( Color color ) : void
color UnityEngine.Color
Результат void