C# 클래스 Microsoft.Xna.Framework.AndroidGameWindow

상속: AndroidGameView, Android.Views.View.IOnTouchListener
파일 보기 프로젝트 열기: procfxgen/MGShaderEditor 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ChangeClientBounds void
GetEffectiveSupportedOrientations DisplayOrientation
Initialize void
OnRenderFrame void
OnUpdateFrame void
SetDisplayOrientation void
SetOrientation void

공개 메소드들

메소드 설명
AndroidGameWindow ( Microsoft.Xna.Framework.AndroidGameActivity activity, Microsoft.Xna.Framework.Game game ) : System
BeginScreenDeviceChange ( bool willBeFullScreen ) : void
Dispose ( ) : void
EndScreenDeviceChange ( string screenDeviceName, int clientWidth, int clientHeight ) : void
SetResumer ( IResumeManager resumer ) : void

보호된 메소드들

메소드 설명
SetSupportedOrientations ( DisplayOrientation orientations ) : void
SetTitle ( string title ) : void

비공개 메소드들

메소드 설명
ChangeClientBounds ( Rectangle bounds ) : void
GetEffectiveSupportedOrientations ( ) : DisplayOrientation

In Xna, setting SupportedOrientations = DisplayOrientation.Default (which is the default value) has the effect of setting SupportedOrientations to landscape only or portrait only, based on the aspect ratio of PreferredBackBufferWidth / PreferredBackBufferHeight

Initialize ( Android.Content.Context context ) : void
OnRenderFrame ( object sender, FrameEventArgs frameEventArgs ) : void
OnUpdateFrame ( object sender, FrameEventArgs frameEventArgs ) : void
SetDisplayOrientation ( DisplayOrientation value ) : void
SetOrientation ( DisplayOrientation newOrientation, bool applyGraphicsChanges ) : void

Updates the screen orientation. Filters out requests for unsupported orientations.

메소드 상세

AndroidGameWindow() 공개 메소드

public AndroidGameWindow ( Microsoft.Xna.Framework.AndroidGameActivity activity, Microsoft.Xna.Framework.Game game ) : System
activity Microsoft.Xna.Framework.AndroidGameActivity
game Microsoft.Xna.Framework.Game
리턴 System

BeginScreenDeviceChange() 공개 메소드

public BeginScreenDeviceChange ( bool willBeFullScreen ) : void
willBeFullScreen bool
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

EndScreenDeviceChange() 공개 메소드

public EndScreenDeviceChange ( string screenDeviceName, int clientWidth, int clientHeight ) : void
screenDeviceName string
clientWidth int
clientHeight int
리턴 void

SetResumer() 공개 메소드

public SetResumer ( IResumeManager resumer ) : void
resumer IResumeManager
리턴 void

SetSupportedOrientations() 보호된 메소드

protected SetSupportedOrientations ( DisplayOrientation orientations ) : void
orientations DisplayOrientation
리턴 void

SetTitle() 보호된 메소드

protected SetTitle ( string title ) : void
title string
리턴 void