App Hub

代码示例详细信息

Orientation

已提交
2010/10/4
代码示例

Sample Overview

This sample demonstrates a crucial scenario many games will want to enable: locking the screen to landscape or portrait mode. Also shown and explained is the more advanced scenario of responding to orientation changes from landscape to portrait or vice versa during gameplay, and changing the game’s orientation to match.



All content and source code downloaded from this page are bound to the Microsoft Permissive License (Ms-PL).

 

 

 

 

下载项

Framework

GS 4.0

查找教育内容
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG