1234567891011121314151617181920 |
- = jMonkeyEngine SDK: Creating a model importer
- :revnumber: 2.0
- :revdate: 2020/07/10
- :keywords: documentation, sdk, tool
- 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:
- * 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]
|