public static class RoboPlatform.Config
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
embedded
Indicates that PlayN is to be embedded in a larger iOS app.
|
int |
frameInterval
Indicates the frequency at which the game should be rendered (and updated).
|
org.robovm.apple.glkit.GLKViewDrawableColorFormat |
glBufferFormat
Configures the format of the GL framebuffer.
|
boolean |
interpolateCanvasDrawing
If true, calls to CanvasImage.draw() on a retina device using a non-retina image as the
source will use the default interpolation defined for CGBitmapContext.
|
boolean |
iPadLikePhone
If true, an iPad will be treated like a 2x Retina device with resolution 384x512 and which
will use @2x images.
|
int |
openALSources
The number of audio channels to reserve for OpenAL.
|
org.robovm.apple.uikit.UIInterfaceOrientationMask |
orients
Indicates which orients are supported by your app.
|
java.lang.String |
storageFileName
Dictates the name of the temporary file used by
RoboStorage. |
float |
timeForTermination
Seconds to wait for the game loop to terminate before terminating GL and AL services.
|
| Constructor and Description |
|---|
Config() |
public org.robovm.apple.uikit.UIInterfaceOrientationMask orients
Info.plist file.public boolean iPadLikePhone
public int frameInterval
public boolean interpolateCanvasDrawing
public int openALSources
public float timeForTermination
public boolean embedded
RoboPlatform.activate() when the view
containing the PlayN app is about to be shown, and RoboPlatform.terminate() when the
view goes away. Note that while PlayN is activated, it will automatically listen for and
handle background and foreground notifications, so those need not be performed manually.public org.robovm.apple.glkit.GLKViewDrawableColorFormat glBufferFormat
public java.lang.String storageFileName
RoboStorage. Configure this if you
want to embed multiple games into your application.Copyright © 2014. All Rights Reserved.