Package com.gaia3d.converter.jgltf.tiles
Class InstancedModelGltfWriter
java.lang.Object
com.gaia3d.converter.jgltf.GltfWriter
com.gaia3d.converter.jgltf.tiles.InstancedModelGltfWriter
GltfWriter is a class that writes the glTF file.
It contains the method to write the glTF file from the GaiaScene object.
The glTF file is written in the glTF 2.0 format.
for 3D Tiles 1.1 Instance Model.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteGlb(GaiaScene gaiaScene, File outputPath, GaiaFeatureTable featureTable, GaiaBatchTableMap<String, List<String>> batchTableMap) Write the glTF file from the GaiaScene object.voidwriteGlb(GaiaScene gaiaScene, OutputStream outputStream, GaiaFeatureTable featureTable, GaiaBatchTableMap<String, List<String>> batchTableMap) Write the glTF file from the GaiaScene object.
-
Constructor Details
-
InstancedModelGltfWriter
public InstancedModelGltfWriter()
-
-
Method Details
-
writeGlb
public void writeGlb(GaiaScene gaiaScene, File outputPath, GaiaFeatureTable featureTable, GaiaBatchTableMap<String, List<String>> batchTableMap) Write the glTF file from the GaiaScene object.- Parameters:
gaiaScene- The GaiaScene object to be written.outputPath- The output path of the glTF file.
-
writeGlb
public void writeGlb(GaiaScene gaiaScene, OutputStream outputStream, GaiaFeatureTable featureTable, GaiaBatchTableMap<String, List<String>> batchTableMap) Write the glTF file from the GaiaScene object.- Parameters:
gaiaScene- The GaiaScene object to be written.outputStream- The output stream of the glTF file.
-