Property | Type | Description | |
---|---|---|---|
ChangeClientBounds | void | ||
GetEffectiveSupportedOrientations | DisplayOrientation | ||
Initialize | void | ||
OnRenderFrame | void | ||
OnUpdateFrame | void | ||
SetDisplayOrientation | void | ||
SetOrientation | void |
Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
SetSupportedOrientations ( DisplayOrientation orientations ) : void | ||
SetTitle ( string title ) : void |
Method | Description | |
---|---|---|
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.
|
public AndroidGameWindow ( Microsoft.Xna.Framework.AndroidGameActivity activity, Microsoft.Xna.Framework.Game game ) : System | ||
activity | Microsoft.Xna.Framework.AndroidGameActivity | |
game | Microsoft.Xna.Framework.Game | |
return | System |
public BeginScreenDeviceChange ( bool willBeFullScreen ) : void | ||
willBeFullScreen | bool | |
return | void |
public EndScreenDeviceChange ( string screenDeviceName, int clientWidth, int clientHeight ) : void | ||
screenDeviceName | string | |
clientWidth | int | |
clientHeight | int | |
return | void |
public SetResumer ( IResumeManager resumer ) : void | ||
resumer | IResumeManager | |
return | void |
protected SetSupportedOrientations ( DisplayOrientation orientations ) : void | ||
orientations | DisplayOrientation | |
return | void |