Director Class Reference
| Inherits from | JavaScript Object |
Overview of Tasks
Attributes
- Name
-
contentScaleFactorControls the content scale factor for iOS devices with retina display
-
displayFPS -
fpsInterval -
multipleTouchEnabled -
runningScene -
winSize -
winSizeInPixels
- Type
-
float -
bool -
float -
bool -
Scene -
Size -
Size
- Writability
-
readwrite -
readwrite -
readwrite -
readwrite -
readonly -
readonly -
readonly
Functions
- Signature
-
convertToGL(p) -
runScene(scene)Run with a scene.
- Return Type
-
Point -
void
Attributes
contentScaleFactor
Controls the content scale factor for iOS devices with retina display
readwrite float contentScaleFactorDiscussion
This attribute is a subject to change in future releases. It may be enhanced to support virtual viewport settings for Android devices.
It’s present here for debug purpose. Please use NamespaceiOS.enableRetinaDisplay to enable hi-res support on iOS devices with retina display.