Packageaway3d.loaders
Classpublic class Ase

File loader for the ASE file format.

Public Methods
 MethodDefined by
  
Ase
(data:String, init:Object = null)
Creates a new Ase object.
Ase
  
load(url:String, init:Object = null):Object3DLoader
[static] Loads and parses an ase file into a 3d mesh object.
Ase
  
parse(data:*, init:Object = null, loader:Object3DLoader = null):Mesh
[static] Creates a 3d mesh object from the raw ascii data of the ase file.
Ase
Constructor detail
Ase()constructor
public function Ase(data:String, init:Object = null)Parameters
data:String — The ascii data of a loaded file.
 
init:Object (default = null) — [optional] An initialisation object for specifying default instance properties.
####INIT####

See also

Method detail
load()method
public static function load(url:String, init:Object = null):Object3DLoader

Loads and parses an ase file into a 3d mesh object.

Parameters
url:String — The url location of the file to load.
 
init:Object (default = null) — [optional] An initialisation object for specifying default instance properties.

Returns
Object3DLoader — A 3d loader object that can be used as a placeholder in a scene while the file is loading.
parse()method 
public static function parse(data:*, init:Object = null, loader:Object3DLoader = null):Mesh

Creates a 3d mesh object from the raw ascii data of the ase file.

Parameters
data:* — The ascii data of a loaded file.
 
init:Object (default = null) — [optional] An initialisation object for specifying default instance properties.
 
loader:Object3DLoader (default = null) — [optional] Not intended for direct use.

Returns
Mesh — A 3d mesh object representation of the ase file.
Wiki link
Click to go to the wiki page for ####WIKI####

Code examples

Comments