C# 클래스 UnityCommonLibrary.Utility.GizmosUtility

파일 보기 프로젝트 열기: thebeardphantom/UnityCommonLibrary

공개 메소드들

메소드 설명
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