C# Class MonoGdx.Scene2D.Stage

Inheritance: InputAdapter, IDisposable
Afficher le fichier Open project: jaquadro/MonoGdx Class Usage Examples

Méthodes publiques

Свойство 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

Méthodes publiques

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

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

Method Details

AddAction() public méthode

public AddAction ( SceneAction action ) : void
action SceneAction
Résultat void

AddActor() public méthode

public AddActor ( Actor actor ) : void
actor Actor
Résultat void

Clear() public méthode

public Clear ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Draw() public méthode

public Draw ( ) : void
Résultat void

GetKeyboardFocus() public méthode

public GetKeyboardFocus ( ) : Actor
Résultat Actor

GetScrollFocus() public méthode

public GetScrollFocus ( ) : Actor
Résultat Actor

GetTouchCapture() public méthode

public GetTouchCapture ( int pointer ) : Actor
pointer int
Résultat Actor

Hit() public méthode

public Hit ( float stageX, float stageY, bool touchable ) : Actor
stageX float
stageY float
touchable bool
Résultat Actor

KeyDown() public méthode

public KeyDown ( int keycode ) : bool
keycode int
Résultat bool

KeyTyped() public méthode

public KeyTyped ( char character ) : bool
character char
Résultat bool

KeyUp() public méthode

public KeyUp ( int keycode ) : bool
keycode int
Résultat bool

MouseMoved() public méthode

public MouseMoved ( int screenX, int screenY ) : bool
screenX int
screenY int
Résultat bool

ReleaseTouchCapture() public méthode

public ReleaseTouchCapture ( ) : void
Résultat void

ReleaseTouchCapture() public méthode

public ReleaseTouchCapture ( int pointer ) : void
pointer int
Résultat void

ScreenToStageCoordinates() public méthode

public ScreenToStageCoordinates ( Vector2 screenCoords ) : Vector2
screenCoords Vector2
Résultat Vector2

Scrolled() public méthode

public Scrolled ( int amount ) : bool
amount int
Résultat bool

SetKeyboardFocus() public méthode

public SetKeyboardFocus ( Actor actor ) : void
actor Actor
Résultat void

SetScrollFocus() public méthode

public SetScrollFocus ( Actor actor ) : void
actor Actor
Résultat void

SetTouchCapture() public méthode

public SetTouchCapture ( Actor actor, int pointer ) : void
actor Actor
pointer int
Résultat void

SetViewport() public méthode

public SetViewport ( float width, float height, bool keepAspectRatio ) : void
width float
height float
keepAspectRatio bool
Résultat void

SetViewport() public méthode

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

Stage() public méthode

public Stage ( GraphicsDevice graphicsDevice ) : System
graphicsDevice GraphicsDevice
Résultat System

Stage() public méthode

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

Stage() public méthode

public Stage ( float width, float height, bool keepAspectRatio, GraphicsDevice graphicsDevice ) : System
width float
height float
keepAspectRatio bool
graphicsDevice GraphicsDevice
Résultat System

StageToScreenCoordinates() public méthode

public StageToScreenCoordinates ( Vector2 stageCoords ) : Vector2
stageCoords Vector2
Résultat Vector2

ToScreenCoordinates() public méthode

public ToScreenCoordinates ( Vector2 coords, Matrix transformMatrix ) : Vector2
coords Vector2
transformMatrix Matrix
Résultat Vector2

TouchDown() public méthode

public TouchDown ( int screenX, int screenY, int pointer, int button ) : bool
screenX int
screenY int
pointer int
button int
Résultat bool

TouchDragged() public méthode

public TouchDragged ( int screenX, int screenY, int pointer ) : bool
screenX int
screenY int
pointer int
Résultat bool

TouchUp() public méthode

public TouchUp ( int screenX, int screenY, int pointer, int button ) : bool
screenX int
screenY int
pointer int
button int
Résultat bool

Unfocus() public méthode

public Unfocus ( Actor actor ) : void
actor Actor
Résultat void

UnfocusAll() public méthode

public UnfocusAll ( ) : void
Résultat void

Property Details

GotKeyboardFocusEvent public_oe static_oe property

public static RoutedEvent GotKeyboardFocusEvent
Résultat RoutedEvent

GotScrollFocusEvent public_oe static_oe property

public static RoutedEvent GotScrollFocusEvent
Résultat RoutedEvent

GotTouchCaptureEvent public_oe static_oe property

public static RoutedEvent GotTouchCaptureEvent
Résultat RoutedEvent

KeyDownEvent public_oe static_oe property

public static RoutedEvent KeyDownEvent
Résultat RoutedEvent

KeyTypedEvent public_oe static_oe property

public static RoutedEvent KeyTypedEvent
Résultat RoutedEvent

KeyUpEvent public_oe static_oe property

public static RoutedEvent KeyUpEvent
Résultat RoutedEvent

LostKeyboardFocusEvent public_oe static_oe property

public static RoutedEvent LostKeyboardFocusEvent
Résultat RoutedEvent

LostScrollFocusEvent public_oe static_oe property

public static RoutedEvent LostScrollFocusEvent
Résultat RoutedEvent

LostTouchCaptureEvent public_oe static_oe property

public static RoutedEvent LostTouchCaptureEvent
Résultat RoutedEvent

MouseMoveEvent public_oe static_oe property

public static RoutedEvent MouseMoveEvent
Résultat RoutedEvent

PreviewKeyDownEvent public_oe static_oe property

public static RoutedEvent PreviewKeyDownEvent
Résultat RoutedEvent

PreviewKeyTypedEvent public_oe static_oe property

public static RoutedEvent PreviewKeyTypedEvent
Résultat RoutedEvent

PreviewKeyUpEvent public_oe static_oe property

public static RoutedEvent PreviewKeyUpEvent
Résultat RoutedEvent

PreviewMouseMoveEvent public_oe static_oe property

public static RoutedEvent PreviewMouseMoveEvent
Résultat RoutedEvent

PreviewScrollEvent public_oe static_oe property

public static RoutedEvent PreviewScrollEvent
Résultat RoutedEvent

PreviewTouchDownEvent public_oe static_oe property

public static RoutedEvent PreviewTouchDownEvent
Résultat RoutedEvent

PreviewTouchDragEvent public_oe static_oe property

public static RoutedEvent PreviewTouchDragEvent
Résultat RoutedEvent

PreviewTouchUpEvent public_oe static_oe property

public static RoutedEvent PreviewTouchUpEvent
Résultat RoutedEvent

ScrollEvent public_oe static_oe property

public static RoutedEvent ScrollEvent
Résultat RoutedEvent

TouchDownEvent public_oe static_oe property

public static RoutedEvent TouchDownEvent
Résultat RoutedEvent

TouchDragEvent public_oe static_oe property

public static RoutedEvent TouchDragEvent
Résultat RoutedEvent

TouchEnterEvent public_oe static_oe property

public static RoutedEvent TouchEnterEvent
Résultat RoutedEvent

TouchLeaveEvent public_oe static_oe property

public static RoutedEvent TouchLeaveEvent
Résultat RoutedEvent

TouchUpEvent public_oe static_oe property

public static RoutedEvent TouchUpEvent
Résultat RoutedEvent