|
@@ -1,11 +1,7 @@
|
|
= jMonkeyEngine SDK: Creating a model importer
|
|
= jMonkeyEngine SDK: Creating a model importer
|
|
-:author:
|
|
|
|
-:revnumber:
|
|
|
|
-:revdate: 2016/03/17 20:48
|
|
|
|
|
|
+:revnumber: 2.0
|
|
|
|
+:revdate: 2020/07/10
|
|
:keywords: documentation, sdk, tool
|
|
:keywords: documentation, sdk, tool
|
|
-:relfileprefix: ../../
|
|
|
|
-:imagesdir: ../..
|
|
|
|
-ifdef::env-github,env-browser[:outfilesuffix: .adoc]
|
|
|
|
|
|
|
|
|
|
|
|
You can create custom model importers for the jMonkeyEngine SDK. The SDK supports NBM plugins.
|
|
You can create custom model importers for the jMonkeyEngine SDK. The SDK supports NBM plugins.
|
|
@@ -16,9 +12,9 @@ You can create custom model importers for the jMonkeyEngine SDK. The SDK support
|
|
. Change DataObject to extend SpatialAssetDataObject
|
|
. Change DataObject to extend SpatialAssetDataObject
|
|
. Implement getAssetKey(): if(!assetKey instanceof MyKeyType){assetKey = new MyKeyType(oldKey);} return key;
|
|
. Implement getAssetKey(): if(!assetKey instanceof MyKeyType){assetKey = new MyKeyType(oldKey);} return key;
|
|
. Maybe implement loadAsset method in DataObject (if necessary, most model formats should load normally via the loader)
|
|
. Maybe implement loadAsset method in DataObject (if necessary, most model formats should load normally via the loader)
|
|
-. Create AssetManagerConfigurator
|
|
|
|
|
|
+. Create AssetManagerConfigurator
|
|
|
|
|
|
See also:
|
|
See also:
|
|
|
|
|
|
-* <<sdk/development/projects_assets#,Projects and Assets>>
|
|
|
|
|
|
+* xref:development/projects_assets.adoc[Projects and Assets]
|
|
* link:http://platform.netbeans.org/tutorials/nbm-filetype.html[http://platform.netbeans.org/tutorials/nbm-filetype.html]
|
|
* link:http://platform.netbeans.org/tutorials/nbm-filetype.html[http://platform.netbeans.org/tutorials/nbm-filetype.html]
|