From 51d98776babcc0348f14f79e82f4a03bbd51d2f6 Mon Sep 17 00:00:00 2001 From: Takahiro Date: Sat, 3 Mar 2018 06:36:15 +0900 Subject: [PATCH] GLTFExporter Doc: Clean up --- docs/examples/exporters/GLTFExporter.html | 31 ++++++++++++----------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/docs/examples/exporters/GLTFExporter.html b/docs/examples/exporters/GLTFExporter.html index 65a7d0a92d62a0..11d984caec9777 100644 --- a/docs/examples/exporters/GLTFExporter.html +++ b/docs/examples/exporters/GLTFExporter.html @@ -38,7 +38,7 @@

Example

Constructor

-

[name]( )

+

[name]()

@@ -47,33 +47,34 @@

[name]( )

Methods

-

[method:null parse]( [param:Object input], [param:Function onCompleted], [param:Object options] )

+

[method:null parse]( [param:Object3D input], [param:Function onCompleted], [param:Object options] )

[page:Object input] — Scenes or objects to export. Valid options:
  • Export scenes - exporter.parse( scene1, ...) -exporter.parse( [ scene1, scene2 ], ...) + exporter.parse( scene1, ... ) + exporter.parse( [ scene1, scene2 ], ... )
  • - Export objects (It will create a new Scene to hold all the objects) - - exporter.parse( object1, ...) -exporter.parse( [ object1, object2 ], ...) - + Export objects (It will create a new Scene to hold all the objects) + + exporter.parse( object1, ... ) + exporter.parse( [ object1, object2 ], ... ) +
  • - Mix scenes and objects (It will export the scenes as usual but it will create a new scene to hold all the single objects). - -exporter.parse( [ scene1, object1, object2, scene2 ], ...) - + Mix scenes and objects (It will export the scenes as usual but it will create a new scene to hold all the single objects). + + exporter.parse( [ scene1, object1, object2, scene2 ], ... ) + +
[page:Function onCompleted] — Will be called when the export completes. The argument will be the generated glTF JSON or binary ArrayBuffer.
- [page:Options options] - Export options
+ [page:Options options] — Export options
  • trs - bool. Export position, rotation and scale instead of matrix per node. Default is false
  • onlyVisible - bool. Export only visible objects. Default is true.
  • @@ -86,7 +87,7 @@

    [method:null parse]( [param:Object input], [param:Function onCompleted], [pa

- Generates a .gltf (JSON) or .glb (binary) output from the input (Scene or Objects) + Generates a .gltf (JSON) or .glb (binary) output from the input (Scenes or Objects)

Source