C# 클래스 UnityEngine.Gizmos

Gizmos are used to give visual debugging or setup aids in the scene view.

파일 보기 프로젝트 열기: jbruening/UnEngine 1 사용 예제들

공개 메소드들

메소드 설명
DrawCube ( Vector3 center, Vector3 size ) : void
DrawFrustum ( Vector3 center, float fov, float maxRange, float minRange, float aspect ) : void
DrawGUITexture ( Rect screenRect, Texture texture ) : void
DrawGUITexture ( Rect screenRect, Texture texture, Material mat ) : void
DrawGUITexture ( Rect screenRect, Texture texture, int leftBorder, int rightBorder, int topBorder, int bottomBorder ) : void
DrawGUITexture ( Rect screenRect, Texture texture, int leftBorder, int rightBorder, int topBorder, int bottomBorder, Material mat ) : void
DrawIcon ( Vector3 center, string name ) : void
DrawIcon ( Vector3 center, string name, bool allowScaling ) : void
DrawLine ( Vector3 from, Vector3 to ) : void
DrawRay ( Ray r ) : void
DrawRay ( Vector3 from, Vector3 direction ) : void
DrawSphere ( Vector3 center, float radius ) : void
DrawWireCube ( Vector3 center, Vector3 size ) : void
DrawWireSphere ( Vector3 center, float radius ) : void

메소드 상세

DrawCube() 공개 정적인 메소드

public static DrawCube ( Vector3 center, Vector3 size ) : void
center Vector3
size Vector3
리턴 void

DrawFrustum() 공개 정적인 메소드

public static DrawFrustum ( Vector3 center, float fov, float maxRange, float minRange, float aspect ) : void
center Vector3
fov float
maxRange float
minRange float
aspect float
리턴 void

DrawGUITexture() 공개 정적인 메소드

public static DrawGUITexture ( Rect screenRect, Texture texture ) : void
screenRect Rect
texture Texture
리턴 void

DrawGUITexture() 공개 정적인 메소드

public static DrawGUITexture ( Rect screenRect, Texture texture, Material mat ) : void
screenRect Rect
texture Texture
mat Material
리턴 void

DrawGUITexture() 공개 정적인 메소드

public static DrawGUITexture ( Rect screenRect, Texture texture, int leftBorder, int rightBorder, int topBorder, int bottomBorder ) : void
screenRect Rect
texture Texture
leftBorder int
rightBorder int
topBorder int
bottomBorder int
리턴 void

DrawGUITexture() 공개 정적인 메소드

public static DrawGUITexture ( Rect screenRect, Texture texture, int leftBorder, int rightBorder, int topBorder, int bottomBorder, Material mat ) : void
screenRect Rect
texture Texture
leftBorder int
rightBorder int
topBorder int
bottomBorder int
mat Material
리턴 void

DrawIcon() 공개 정적인 메소드

public static DrawIcon ( Vector3 center, string name ) : void
center Vector3
name string
리턴 void

DrawIcon() 공개 정적인 메소드

public static DrawIcon ( Vector3 center, string name, bool allowScaling ) : void
center Vector3
name string
allowScaling bool
리턴 void

DrawLine() 공개 정적인 메소드

public static DrawLine ( Vector3 from, Vector3 to ) : void
from Vector3
to Vector3
리턴 void

DrawRay() 공개 정적인 메소드

public static DrawRay ( Ray r ) : void
r Ray
리턴 void

DrawRay() 공개 정적인 메소드

public static DrawRay ( Vector3 from, Vector3 direction ) : void
from Vector3
direction Vector3
리턴 void

DrawSphere() 공개 정적인 메소드

public static DrawSphere ( Vector3 center, float radius ) : void
center Vector3
radius float
리턴 void

DrawWireCube() 공개 정적인 메소드

public static DrawWireCube ( Vector3 center, Vector3 size ) : void
center Vector3
size Vector3
리턴 void

DrawWireSphere() 공개 정적인 메소드

public static DrawWireSphere ( Vector3 center, float radius ) : void
center Vector3
radius float
리턴 void