AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkApplication.AllowedDeviceOrientations Property

The device orientations the AGK will allow the app to rotate to. Defaults to all orientations.

Syntax
Pascal
property AllowedDeviceOrientations: TAgkDeviceOrientations;

On platforms that can't rotate, like Windows or Mac, this command has no effect and the app will always be drawn right way up. 

You should set this option before you call SetScene the first time.

Copyright (c) 2012. All rights reserved.