C# Class MonoGdx.Scene2D.Stage

Inheritance: InputAdapter, IDisposable
Exibir arquivo Open project: jaquadro/MonoGdx Class Usage Examples

Public Properties

Property Type Description
GotKeyboardFocusEvent RoutedEvent
GotScrollFocusEvent RoutedEvent
GotTouchCaptureEvent RoutedEvent
KeyDownEvent RoutedEvent
KeyTypedEvent RoutedEvent
KeyUpEvent RoutedEvent
LostKeyboardFocusEvent RoutedEvent
LostScrollFocusEvent RoutedEvent
LostTouchCaptureEvent RoutedEvent
MouseMoveEvent RoutedEvent
PreviewKeyDownEvent RoutedEvent
PreviewKeyTypedEvent RoutedEvent
PreviewKeyUpEvent RoutedEvent
PreviewMouseMoveEvent RoutedEvent
PreviewScrollEvent RoutedEvent
PreviewTouchDownEvent RoutedEvent
PreviewTouchDragEvent RoutedEvent
PreviewTouchUpEvent RoutedEvent
ScrollEvent RoutedEvent
TouchDownEvent RoutedEvent
TouchDragEvent RoutedEvent
TouchEnterEvent RoutedEvent
TouchLeaveEvent RoutedEvent
TouchUpEvent RoutedEvent

Public Methods

Method Description
AddAction ( SceneAction action ) : void
AddActor ( Actor actor ) : void
Clear ( ) : void
Dispose ( ) : void
Draw ( ) : void
GetKeyboardFocus ( ) : Actor
GetScrollFocus ( ) : Actor
GetTouchCapture ( int pointer ) : Actor
Hit ( float stageX, float stageY, bool touchable ) : Actor
KeyDown ( int keycode ) : bool
KeyTyped ( char character ) : bool
KeyUp ( int keycode ) : bool
MouseMoved ( int screenX, int screenY ) : bool
ReleaseTouchCapture ( ) : void
ReleaseTouchCapture ( int pointer ) : void
ScreenToStageCoordinates ( Vector2 screenCoords ) : Vector2
Scrolled ( int amount ) : bool
SetKeyboardFocus ( Actor actor ) : void
SetScrollFocus ( Actor actor ) : void
SetTouchCapture ( Actor actor, int pointer ) : void
SetViewport ( float width, float height, bool keepAspectRatio ) : void
SetViewport ( float stageWidth, float stageHeight, bool keepAspectRatio, float viewportX, float viewportY, float viewportWidth, float viewportHeight ) : void
Stage ( GraphicsDevice graphicsDevice ) : System
Stage ( float width, float height, bool keepAspectRatio, GdxSpriteBatch spriteBatch ) : System
Stage ( float width, float height, bool keepAspectRatio, GraphicsDevice graphicsDevice ) : System
StageToScreenCoordinates ( Vector2 stageCoords ) : Vector2
ToScreenCoordinates ( Vector2 coords, Matrix transformMatrix ) : Vector2
TouchDown ( int screenX, int screenY, int pointer, int button ) : bool
TouchDragged ( int screenX, int screenY, int pointer ) : bool
TouchUp ( int screenX, int screenY, int pointer, int button ) : bool
Unfocus ( Actor actor ) : void
UnfocusAll ( ) : void

Private Methods

Method Description
Act ( ) : void
Act ( float delta ) : void
FireEnterAndExit ( Actor overLast, int screenX, int screenY, int pointer ) : Actor

Method Details

AddAction() public method

public AddAction ( SceneAction action ) : void
action SceneAction
return void

AddActor() public method

public AddActor ( Actor actor ) : void
actor Actor
return void

Clear() public method

public Clear ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Draw() public method

public Draw ( ) : void
return void

GetKeyboardFocus() public method

public GetKeyboardFocus ( ) : Actor
return Actor

GetScrollFocus() public method

public GetScrollFocus ( ) : Actor
return Actor

GetTouchCapture() public method

public GetTouchCapture ( int pointer ) : Actor
pointer int
return Actor

Hit() public method

public Hit ( float stageX, float stageY, bool touchable ) : Actor
stageX float
stageY float
touchable bool
return Actor

KeyDown() public method

public KeyDown ( int keycode ) : bool
keycode int
return bool

KeyTyped() public method

public KeyTyped ( char character ) : bool
character char
return bool

KeyUp() public method

public KeyUp ( int keycode ) : bool
keycode int
return bool

MouseMoved() public method

public MouseMoved ( int screenX, int screenY ) : bool
screenX int
screenY int
return bool

ReleaseTouchCapture() public method

public ReleaseTouchCapture ( ) : void
return void

ReleaseTouchCapture() public method

public ReleaseTouchCapture ( int pointer ) : void
pointer int
return void

ScreenToStageCoordinates() public method

public ScreenToStageCoordinates ( Vector2 screenCoords ) : Vector2
screenCoords Vector2
return Vector2

Scrolled() public method

public Scrolled ( int amount ) : bool
amount int
return bool

SetKeyboardFocus() public method

public SetKeyboardFocus ( Actor actor ) : void
actor Actor
return void

SetScrollFocus() public method

public SetScrollFocus ( Actor actor ) : void
actor Actor
return void

SetTouchCapture() public method

public SetTouchCapture ( Actor actor, int pointer ) : void
actor Actor
pointer int
return void

SetViewport() public method

public SetViewport ( float width, float height, bool keepAspectRatio ) : void
width float
height float
keepAspectRatio bool
return void

SetViewport() public method

public SetViewport ( float stageWidth, float stageHeight, bool keepAspectRatio, float viewportX, float viewportY, float viewportWidth, float viewportHeight ) : void
stageWidth float
stageHeight float
keepAspectRatio bool
viewportX float
viewportY float
viewportWidth float
viewportHeight float
return void

Stage() public method

public Stage ( GraphicsDevice graphicsDevice ) : System
graphicsDevice GraphicsDevice
return System

Stage() public method

public Stage ( float width, float height, bool keepAspectRatio, GdxSpriteBatch spriteBatch ) : System
width float
height float
keepAspectRatio bool
spriteBatch MonoGdx.Graphics.G2D.GdxSpriteBatch
return System

Stage() public method

public Stage ( float width, float height, bool keepAspectRatio, GraphicsDevice graphicsDevice ) : System
width float
height float
keepAspectRatio bool
graphicsDevice GraphicsDevice
return System

StageToScreenCoordinates() public method

public StageToScreenCoordinates ( Vector2 stageCoords ) : Vector2
stageCoords Vector2
return Vector2

ToScreenCoordinates() public method

public ToScreenCoordinates ( Vector2 coords, Matrix transformMatrix ) : Vector2
coords Vector2
transformMatrix Matrix
return Vector2

TouchDown() public method

public TouchDown ( int screenX, int screenY, int pointer, int button ) : bool
screenX int
screenY int
pointer int
button int
return bool

TouchDragged() public method

public TouchDragged ( int screenX, int screenY, int pointer ) : bool
screenX int
screenY int
pointer int
return bool

TouchUp() public method

public TouchUp ( int screenX, int screenY, int pointer, int button ) : bool
screenX int
screenY int
pointer int
button int
return bool

Unfocus() public method

public Unfocus ( Actor actor ) : void
actor Actor
return void

UnfocusAll() public method

public UnfocusAll ( ) : void
return void

Property Details

GotKeyboardFocusEvent public_oe static_oe property

public static RoutedEvent GotKeyboardFocusEvent
return RoutedEvent

GotScrollFocusEvent public_oe static_oe property

public static RoutedEvent GotScrollFocusEvent
return RoutedEvent

GotTouchCaptureEvent public_oe static_oe property

public static RoutedEvent GotTouchCaptureEvent
return RoutedEvent

KeyDownEvent public_oe static_oe property

public static RoutedEvent KeyDownEvent
return RoutedEvent

KeyTypedEvent public_oe static_oe property

public static RoutedEvent KeyTypedEvent
return RoutedEvent

KeyUpEvent public_oe static_oe property

public static RoutedEvent KeyUpEvent
return RoutedEvent

LostKeyboardFocusEvent public_oe static_oe property

public static RoutedEvent LostKeyboardFocusEvent
return RoutedEvent

LostScrollFocusEvent public_oe static_oe property

public static RoutedEvent LostScrollFocusEvent
return RoutedEvent

LostTouchCaptureEvent public_oe static_oe property

public static RoutedEvent LostTouchCaptureEvent
return RoutedEvent

MouseMoveEvent public_oe static_oe property

public static RoutedEvent MouseMoveEvent
return RoutedEvent

PreviewKeyDownEvent public_oe static_oe property

public static RoutedEvent PreviewKeyDownEvent
return RoutedEvent

PreviewKeyTypedEvent public_oe static_oe property

public static RoutedEvent PreviewKeyTypedEvent
return RoutedEvent

PreviewKeyUpEvent public_oe static_oe property

public static RoutedEvent PreviewKeyUpEvent
return RoutedEvent

PreviewMouseMoveEvent public_oe static_oe property

public static RoutedEvent PreviewMouseMoveEvent
return RoutedEvent

PreviewScrollEvent public_oe static_oe property

public static RoutedEvent PreviewScrollEvent
return RoutedEvent

PreviewTouchDownEvent public_oe static_oe property

public static RoutedEvent PreviewTouchDownEvent
return RoutedEvent

PreviewTouchDragEvent public_oe static_oe property

public static RoutedEvent PreviewTouchDragEvent
return RoutedEvent

PreviewTouchUpEvent public_oe static_oe property

public static RoutedEvent PreviewTouchUpEvent
return RoutedEvent

ScrollEvent public_oe static_oe property

public static RoutedEvent ScrollEvent
return RoutedEvent

TouchDownEvent public_oe static_oe property

public static RoutedEvent TouchDownEvent
return RoutedEvent

TouchDragEvent public_oe static_oe property

public static RoutedEvent TouchDragEvent
return RoutedEvent

TouchEnterEvent public_oe static_oe property

public static RoutedEvent TouchEnterEvent
return RoutedEvent

TouchLeaveEvent public_oe static_oe property

public static RoutedEvent TouchLeaveEvent
return RoutedEvent

TouchUpEvent public_oe static_oe property

public static RoutedEvent TouchUpEvent
return RoutedEvent