Method | Description | |
---|---|---|
AppendFlags ( DrawFlags flags ) : void | ||
ClearFlags ( DrawFlags flags ) : void | ||
DrawCircle ( |
Draw a circle.
|
|
DrawPoint ( |
||
DrawPolygon ( |
Draw a closed polygon provided in CCW order. This implementation uses {@link #drawSegment(Vec2, Vec2, Color3f)} to draw each side of the polygon.
|
|
DrawSegment ( |
Draw a line segment.
|
|
DrawSolidCircle ( |
Draw a solid circle.
|
|
DrawSolidPolygon ( |
Draw a solid closed polygon provided in CCW order.
|
|
DrawString ( |
||
DrawString ( float x, float y, String s, |
Draw a string.
|
|
DrawTransform ( |
Draw a transform. Choose your own length scale
|
|
GetScreenToWorld ( |
takes the screen coordinates (argScreen) and returns the world coordinates
|
|
GetScreenToWorld ( float screenX, float screenY ) : |
takes the screen coordinates and returns the world coordinates.
|
|
GetScreenToWorldToOut ( |
||
GetScreenToWorldToOut ( float screenX, float screenY, |
takes the screen coordinates and puts the corresponding world coordinates in argWorld.
|
|
GetWorldToScreen ( |
takes the world coordinate (argWorld) and returns the screen coordinates.
|
|
GetWorldToScreen ( float worldX, float worldY ) : |
Takes the world coordinates and returns the screen coordinates.
|
|
GetWorldToScreenToOut ( |
||
GetWorldToScreenToOut ( float worldX, float worldY, |
Takes the world coordinates and puts the corresponding screen coordinates in argScreen.
|
|
SetCamera ( float x, float y, float scale ) : void |
Method | Description | |
---|---|---|
DebugDraw ( IViewportTransform viewport ) : System |
public AppendFlags ( DrawFlags flags ) : void | ||
flags | DrawFlags | |
return | void |
protected DebugDraw ( IViewportTransform viewport ) : System | ||
viewport | IViewportTransform | |
return | System |
public abstract DrawCircle ( |
||
center | ||
radius | float | |
color | ||
return | void |
public abstract DrawPoint ( |
||
argPoint | ||
argRadiusOnScreen | float | |
argColor | ||
return | void |
public DrawPolygon ( |
||
vertices | ||
vertexCount | int | |
color | ||
return | void |
public abstract DrawSegment ( |
||
p1 | ||
p2 | ||
color | ||
return | void |
public abstract DrawSolidCircle ( |
||
center | ||
radius | float | |
axis | ||
color | ||
return | void |
public abstract DrawSolidPolygon ( |
||
vertices | ||
vertexCount | int | |
color | ||
return | void |
public DrawString ( |
||
pos | ||
s | String | |
color | ||
return | void |
public abstract DrawString ( float x, float y, String s, |
||
x | float | |
y | float | |
s | String | |
color | ||
return | void |
public abstract DrawTransform ( |
||
xf | ||
return | void |
public GetScreenToWorld ( |
||
argScreen | ||
return |
public GetScreenToWorld ( float screenX, float screenY ) : |
||
screenX | float | |
screenY | float | |
return |
public GetScreenToWorldToOut ( |
||
argScreen | ||
argWorld | ||
return | void |
public GetScreenToWorldToOut ( float screenX, float screenY, |
||
screenX | float | |
screenY | float | |
argWorld | ||
return | void |
public GetWorldToScreen ( |
||
argWorld | ||
return |
public GetWorldToScreen ( float worldX, float worldY ) : |
||
worldX | float | |
worldY | float | |
return |
public GetWorldToScreenToOut ( |
||
argWorld | ||
argScreen | ||
return | void |
public GetWorldToScreenToOut ( float worldX, float worldY, |
||
worldX | float | |
worldY | float | |
argScreen | ||
return | void |
public SetCamera ( float x, float y, float scale ) : void | ||
x | float | |
y | float | |
scale | float | |
return | void |