Packagealternativa.engine3d.loaders
Classpublic class ExporterA3D
InheritanceExporterA3D Inheritance Object

An object which allows to convert hierarchy of three-dimensional objects to binary A3D format.



Public Methods
 MethodDefined By
  
Creates an instance of ExporterA3D.
ExporterA3D
  
export(root:Object3D = null, animations:Vector.<AnimationClip> = null):ByteArray
Exports a scene to A3D format.
ExporterA3D
Property Detail
idGeneratorproperty
alternativa3d var idGenerator:IIDGenerator

Constructor Detail
ExporterA3D()Constructor
public function ExporterA3D()

Creates an instance of ExporterA3D.

Method Detail
export()method
public function export(root:Object3D = null, animations:Vector.<AnimationClip> = null):ByteArray

Exports a scene to A3D format.

Parameters

root:Object3D (default = null) — Root object of scene.
 
animations:Vector.<AnimationClip> (default = null)

Returns
ByteArray — Data in A3D format.