Packageorg.papervision3d.core.io
Classpublic class BasicExporter



Public Methods
 MethodDefined by
  
export(object:DisplayObjectContainer3D, exportFileFormat:uint = 0):ByteArray
[static] Exports an object and its children to the specified file format.
BasicExporter
  
test():void
[static] Test
BasicExporter
Method detail
export()method
public static function export(object:DisplayObjectContainer3D, exportFileFormat:uint = 0):ByteArray

Exports an object and its children to the specified file format. NOTE: its best to only export after at least one renderpass (all object-internals like rotation-matrices etc. will then be initialized).

Parameters
object:DisplayObjectContainer3D — The object to export. Supported: DisplayObject3D, SceneObject3D.
 
exportFileFormat:uint (default = 0) — The file export format.

Returns
ByteArray — ByteArray

See also

test()method 
public static function test():void

Test