C# Class e2dEditorUtils, E2D-Continued

Afficher le fichier Open project: ryanlatham/E2D-Continued

Méthodes publiques

Свойство Type Description
transform Transform

Méthodes publiques

Méthode Description
DeselectSceneTools ( ) : void
DrawArrow ( Vector2 origin, float angle, float size ) : void
DrawErrorLabel ( string message ) : void
DrawLabel ( Vector2 position, string label, GUIStyle style ) : void
DrawLine ( Vector2 a, Vector2 b ) : void
DrawLine ( Vector2 a, Vector2 b, float width ) : void
DrawSphere ( Vector2 center, float size ) : void
GetHandleSize ( Vector2 position ) : float
IsAnySceneToolSelected ( ) : bool
PositionHandle2d ( Vector2 position ) : Vector2
PositionHandle2d ( Vector2 position, bool showSliders ) : Vector2
PositionHandle2dCube ( Vector2 position, Color color, float scale ) : Vector2
PositionHandle2dScaled ( Vector2 position, float scale, bool showSliders ) : Vector2
RectField ( string label, Rect rectangle ) : Rect
RotationHandle2d ( float angle, Vector2 position ) : float
Vector2Field ( string label, Vector2 vector ) : Vector2
VerticalMultiSlider ( string label, List &values, List images, float minValue, float maxValue, float threshold, string thresholdLabel, float size, bool upsideDown ) : void

Method Details

DeselectSceneTools() public static méthode

public static DeselectSceneTools ( ) : void
Résultat void

DrawArrow() public static méthode

public static DrawArrow ( Vector2 origin, float angle, float size ) : void
origin Vector2
angle float
size float
Résultat void

DrawErrorLabel() public static méthode

public static DrawErrorLabel ( string message ) : void
message string
Résultat void

DrawLabel() public static méthode

public static DrawLabel ( Vector2 position, string label, GUIStyle style ) : void
position Vector2
label string
style GUIStyle
Résultat void

DrawLine() public static méthode

public static DrawLine ( Vector2 a, Vector2 b ) : void
a Vector2
b Vector2
Résultat void

DrawLine() public static méthode

public static DrawLine ( Vector2 a, Vector2 b, float width ) : void
a Vector2
b Vector2
width float
Résultat void

DrawSphere() public static méthode

public static DrawSphere ( Vector2 center, float size ) : void
center Vector2
size float
Résultat void

GetHandleSize() public static méthode

public static GetHandleSize ( Vector2 position ) : float
position Vector2
Résultat float

IsAnySceneToolSelected() public static méthode

public static IsAnySceneToolSelected ( ) : bool
Résultat bool

PositionHandle2d() public static méthode

public static PositionHandle2d ( Vector2 position ) : Vector2
position Vector2
Résultat Vector2

PositionHandle2d() public static méthode

public static PositionHandle2d ( Vector2 position, bool showSliders ) : Vector2
position Vector2
showSliders bool
Résultat Vector2

PositionHandle2dCube() public static méthode

public static PositionHandle2dCube ( Vector2 position, Color color, float scale ) : Vector2
position Vector2
color Color
scale float
Résultat Vector2

PositionHandle2dScaled() public static méthode

public static PositionHandle2dScaled ( Vector2 position, float scale, bool showSliders ) : Vector2
position Vector2
scale float
showSliders bool
Résultat Vector2

RectField() public static méthode

public static RectField ( string label, Rect rectangle ) : Rect
label string
rectangle Rect
Résultat Rect

RotationHandle2d() public static méthode

public static RotationHandle2d ( float angle, Vector2 position ) : float
angle float
position Vector2
Résultat float

Vector2Field() public static méthode

public static Vector2Field ( string label, Vector2 vector ) : Vector2
label string
vector Vector2
Résultat Vector2

VerticalMultiSlider() public static méthode

public static VerticalMultiSlider ( string label, List &values, List images, float minValue, float maxValue, float threshold, string thresholdLabel, float size, bool upsideDown ) : void
label string
values List
images List
minValue float
maxValue float
threshold float
thresholdLabel string
size float
upsideDown bool
Résultat void

Property Details

transform public_oe static_oe property

public static Transform transform
Résultat Transform