C# Class UnityEngine.Gizmos

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

Afficher le fichier Open project: jbruening/UnEngine Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public static DrawCube ( Vector3 center, Vector3 size ) : void
center Vector3
size Vector3
Résultat void

DrawFrustum() public static méthode

public static DrawFrustum ( Vector3 center, float fov, float maxRange, float minRange, float aspect ) : void
center Vector3
fov float
maxRange float
minRange float
aspect float
Résultat void

DrawGUITexture() public static méthode

public static DrawGUITexture ( Rect screenRect, Texture texture ) : void
screenRect Rect
texture Texture
Résultat void

DrawGUITexture() public static méthode

public static DrawGUITexture ( Rect screenRect, Texture texture, Material mat ) : void
screenRect Rect
texture Texture
mat Material
Résultat void

DrawGUITexture() public static méthode

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
Résultat void

DrawGUITexture() public static méthode

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
Résultat void

DrawIcon() public static méthode

public static DrawIcon ( Vector3 center, string name ) : void
center Vector3
name string
Résultat void

DrawIcon() public static méthode

public static DrawIcon ( Vector3 center, string name, bool allowScaling ) : void
center Vector3
name string
allowScaling bool
Résultat void

DrawLine() public static méthode

public static DrawLine ( Vector3 from, Vector3 to ) : void
from Vector3
to Vector3
Résultat void

DrawRay() public static méthode

public static DrawRay ( Ray r ) : void
r Ray
Résultat void

DrawRay() public static méthode

public static DrawRay ( Vector3 from, Vector3 direction ) : void
from Vector3
direction Vector3
Résultat void

DrawSphere() public static méthode

public static DrawSphere ( Vector3 center, float radius ) : void
center Vector3
radius float
Résultat void

DrawWireCube() public static méthode

public static DrawWireCube ( Vector3 center, Vector3 size ) : void
center Vector3
size Vector3
Résultat void

DrawWireSphere() public static méthode

public static DrawWireSphere ( Vector3 center, float radius ) : void
center Vector3
radius float
Résultat void