C# Class e2dEditorUtils, E2D-Continued

Mostrar archivo Open project: ryanlatham/E2D-Continued

Public Properties

Property Type Description
transform Transform

Public Methods

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

public static DeselectSceneTools ( ) : void
return void

DrawArrow() public static method

public static DrawArrow ( Vector2 origin, float angle, float size ) : void
origin Vector2
angle float
size float
return void

DrawErrorLabel() public static method

public static DrawErrorLabel ( string message ) : void
message string
return void

DrawLabel() public static method

public static DrawLabel ( Vector2 position, string label, GUIStyle style ) : void
position Vector2
label string
style GUIStyle
return void

DrawLine() public static method

public static DrawLine ( Vector2 a, Vector2 b ) : void
a Vector2
b Vector2
return void

DrawLine() public static method

public static DrawLine ( Vector2 a, Vector2 b, float width ) : void
a Vector2
b Vector2
width float
return void

DrawSphere() public static method

public static DrawSphere ( Vector2 center, float size ) : void
center Vector2
size float
return void

GetHandleSize() public static method

public static GetHandleSize ( Vector2 position ) : float
position Vector2
return float

IsAnySceneToolSelected() public static method

public static IsAnySceneToolSelected ( ) : bool
return bool

PositionHandle2d() public static method

public static PositionHandle2d ( Vector2 position ) : Vector2
position Vector2
return Vector2

PositionHandle2d() public static method

public static PositionHandle2d ( Vector2 position, bool showSliders ) : Vector2
position Vector2
showSliders bool
return Vector2

PositionHandle2dCube() public static method

public static PositionHandle2dCube ( Vector2 position, Color color, float scale ) : Vector2
position Vector2
color Color
scale float
return Vector2

PositionHandle2dScaled() public static method

public static PositionHandle2dScaled ( Vector2 position, float scale, bool showSliders ) : Vector2
position Vector2
scale float
showSliders bool
return Vector2

RectField() public static method

public static RectField ( string label, Rect rectangle ) : Rect
label string
rectangle Rect
return Rect

RotationHandle2d() public static method

public static RotationHandle2d ( float angle, Vector2 position ) : float
angle float
position Vector2
return float

Vector2Field() public static method

public static Vector2Field ( string label, Vector2 vector ) : Vector2
label string
vector Vector2
return Vector2

VerticalMultiSlider() public static method

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

Property Details

transform public_oe static_oe property

public static Transform transform
return Transform