C# Class UnityEngine.Gizmos

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

ファイルを表示 Open project: jbruening/UnEngine Class Usage Examples

Public Methods

Method Description
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

Method Details

DrawCube() public static method

public static DrawCube ( Vector3 center, Vector3 size ) : void
center Vector3
size Vector3
return void

DrawFrustum() public static method

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

DrawGUITexture() public static method

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

DrawGUITexture() public static method

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

DrawGUITexture() public static method

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
return void

DrawGUITexture() public static method

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
return void

DrawIcon() public static method

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

DrawIcon() public static method

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

DrawLine() public static method

public static DrawLine ( Vector3 from, Vector3 to ) : void
from Vector3
to Vector3
return void

DrawRay() public static method

public static DrawRay ( Ray r ) : void
r Ray
return void

DrawRay() public static method

public static DrawRay ( Vector3 from, Vector3 direction ) : void
from Vector3
direction Vector3
return void

DrawSphere() public static method

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

DrawWireCube() public static method

public static DrawWireCube ( Vector3 center, Vector3 size ) : void
center Vector3
size Vector3
return void

DrawWireSphere() public static method

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