Przeglądaj źródła

Update blender.adoc

Corrected list under Using BlenderLoader instead of BlenderModelLoader.
mitm001 9 lat temu
rodzic
commit
150ef2f8da
1 zmienionych plików z 3 dodań i 10 usunięć
  1. 3 10
      src/docs/asciidoc/sdk/blender.adoc

+ 3 - 10
src/docs/asciidoc/sdk/blender.adoc

@@ -120,8 +120,8 @@ By default a BlenderModelLoader is registered with your assetManager to load ble
 
 
 You have two loaders available.
 You have two loaders available.
 
 
-*  BlenderLoader that loads the whole scene. It returns an instance of  LoadingResults that contains all the data loaded from the scene.
-
+*  BlenderLoader that loads the whole scene. It returns an instance of LoadingResults that contains all the data loaded from the scene.
++
 [source,java]
 [source,java]
 ----
 ----
 
 
@@ -150,24 +150,17 @@ public static class LoadingResults extends Spatial {
 *  BlenderModelLoader loads only the model node and should be used if you have a single model in a file.
 *  BlenderModelLoader loads only the model node and should be used if you have a single model in a file.
 
 
 To register the model do the following:
 To register the model do the following:
-
 [source,java]
 [source,java]
 ----
 ----
-
 assetManager.registerLoader(BlenderLoader.class, "blend");
 assetManager.registerLoader(BlenderLoader.class, "blend");
-
 ----
 ----
-
 or
 or
-
 [source,java]
 [source,java]
 ----
 ----
-
 assetManager.registerLoader(BlenderModelLoader.class, "blend");
 assetManager.registerLoader(BlenderModelLoader.class, "blend");
-
 ----
 ----
 
 
-*  The last thing to do is to create a proper key.
+The last thing to do is to create a proper key.
 
 
 You can use com.jme3.asset.BlenderKey for that.
 You can use com.jme3.asset.BlenderKey for that.
 The simplest use is to create the key with the asset's name.
 The simplest use is to create the key with the asset's name.