| 123456789101112131415161718192021222324 |
- = jMonkeyEngine SDK: Creating a model importer
- :author:
- :revnumber:
- :revdate: 2016/03/17 20:48
- :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.
- . link:http://platform.netbeans.org/tutorials/nbm-filetype.html[Create an NBM plugin]
- . Add importer jar file (wrap jar file)
- . Add filetype (Template)
- . Change DataObject to extend SpatialAssetDataObject
- . 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)
- . Create AssetManagerConfigurator
- See also:
- * <<sdk/development/projects_assets#,Projects and Assets>>
- * link:http://platform.netbeans.org/tutorials/nbm-filetype.html[http://platform.netbeans.org/tutorials/nbm-filetype.html]
|