diff --git a/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/advanced/multithreading.html b/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/advanced/multithreading.html index 4ca1a2750..f0bc7e896 100644 --- a/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/advanced/multithreading.html +++ b/sdk/jme3-core/javahelp/com/jme3/gde/core/docs/jme3/advanced/multithreading.html @@ -1,4 +1,31 @@ +
+ +jME3 is similar to Swing in that for speed and efficiency all changes to the world must be made in a single update thread. This is handled automatically for you if using Controllers or simpleUpdate however whenever you pass work to another thread you need to hand the results back to the main jME3 thread before making any changes to the scene graph. +
+public void rotateGeography(final Geography goe, final Quaternian rot) { + mainApp.enqueue(new Callable<Spatial>() { + + public Spatial call() throws Exception { + return geo.rotate(rot); + } + + }); + }+ +
+Note that this example does not fetch the returned value by calling get()
on the Future object returned from enqueue()
. This means that the example method rotateGeography()
will return immediately and will not wait for the rotation to be processed before continuing.
+
+If the processing thread needs to wait or needs the return value then get()
or the other methods in the returned Future object such as isDone()
can be used.
+
- -jME3 is similar to Swing in that for speed and efficiency all changes to the world must be made in a single update thread. This is handled automatically for you if using Controllers or simpleUpdate however whenever you pass work to another thread you need to hand the results back to the main jME3 thread before making any changes to the scene graph. -
-public void rotateGeography(final Geography goe, final Quaternian rot) { - mainApp.enqueue(new Callable<Spatial>() { - - public Spatial call() throws Exception { - return geo.rotate(rot); - } - - }); - }- -
-Note that this example does not fetch the returned value by calling get()
on the Future object returned from enqueue()
. This means that the example method rotateGeography()
will return immediately and will not wait for the rotation to be processed before continuing.
-
-If the processing thread needs to wait or needs the return value then get()
or the other methods in the returned Future object such as isDone()
can be used.
-
+A resources
folder in your project folder will be created that contains the template icons and settings files for each selected platform. If you change one of them, de-selecting the deployment for that platform will not delete this resource file anymore and it will not be overwritten when you re-enable deployment for that platform.
+
When you build your project, zip files for each selected platform will be created in the dist
folder that contain all that is needed to run your application on that platform.