public final class GltfWriter
extends java.lang.Object
| Constructor and Description |
|---|
GltfWriter()
Creates a new glTF writer.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isIndenting()
Returns whether the JSON output will be indented
|
void |
setIndenting(boolean indenting)
Set whether the JSON output should be indented
|
void |
write(java.lang.Object gltf,
java.io.OutputStream outputStream)
Write the given glTF to the given output stream.
|
public GltfWriter()
public void setIndenting(boolean indenting)
indenting - whether the JSON output should be indentedpublic boolean isIndenting()
public void write(java.lang.Object gltf,
java.io.OutputStream outputStream)
throws java.io.IOException
gltf - The glTFoutputStream - The output streamjava.io.IOException - If an IO error occurredCopyright © 2022. All Rights Reserved.