Class J3MExporter
java.lang.Object
com.jme3.material.plugin.export.material.J3MExporter
- All Implemented Interfaces:
com.jme3.export.JmeExporter
Saves a Material to a j3m file with proper formatting.
usage is :
J3MExporter exporter = new J3MExporter();
exporter.save(material, myFile);
//or
exporter.save(material, myOutputStream);
- Author:
- tsr, nehon (documentation and safety check)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.jme3.export.OutputCapsulegetCapsule(com.jme3.export.Savable object) voidvoidsave(com.jme3.export.Savable object, OutputStream f) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.jme3.export.JmeExporter
save
-
Constructor Details
-
J3MExporter
public J3MExporter()Create a J3MExporter
-
-
Method Details
-
save
- Specified by:
savein interfacecom.jme3.export.JmeExporter- Throws:
IOException
-
save
public void save(com.jme3.export.Savable object, File f, boolean createDirectories) throws IOException - Specified by:
savein interfacecom.jme3.export.JmeExporter- Throws:
IOException
-
getCapsule
public com.jme3.export.OutputCapsule getCapsule(com.jme3.export.Savable object) - Specified by:
getCapsulein interfacecom.jme3.export.JmeExporter
-