public class WriterU3D extends Object implements SceneWriter
JrScene into u3d compliant binary data. The exported
data is written as specified in the 4th edition of ECMA standard 363.| Constructor and Description |
|---|
WriterU3D() |
| Modifier and Type | Method and Description |
|---|---|
static void |
write(JrScene scene,
OutputStream out)
Exports a given
JrScene into U3D binary data. |
void |
write(SceneGraphNode c,
OutputStream out)
Exports a given
SceneGraphNode into U3D binary data. |
void |
writeScene(JrScene scene,
OutputStream out)
Exports a given
JrScene into U3D binary data. |
void |
writeScene(JrScene scene,
Writer out)
Deprecated.
|
public void writeScene(JrScene scene, OutputStream out) throws IOException
JrScene into U3D binary data.writeScene in interface SceneWriterscene - the jReality scene to exportout - the output stream to export the data toIOException@Deprecated public void writeScene(JrScene scene, Writer out) throws IOException
UnsupportedOperationException.writeScene in interface SceneWriterscene - unusedout - unusedIOExceptionpublic void write(SceneGraphNode c, OutputStream out) throws IOException
SceneGraphNode into U3D binary data.write in interface SceneWriterc - the scene graph node to exportout - the output stream to export the data toIOExceptionpublic static void write(JrScene scene, OutputStream out) throws IOException
JrScene into U3D binary data.c - the root of the exported scene graphout - the output stream to export the data toIOException