File loader for the 3DS file format.
public var container:ObjectContainer3D
3d container object used for storing the parsed 3ds object.
public var materialLibrary:MaterialLibrary
Reference container for all materials used in the 3ds object.
public var meshDataList:Array
Array of mesh data objects used for storing the parsed 3ds data structure.
public function Max3DS(data:ByteArray, init:Object = null)
Parameters
| data:ByteArray — The binary data of a loaded file.
|
|
| init:Object (default = null ) — [optional] An initialisation object for specifying default instance properties.
|
####INIT####
See also
public static function load(url:String, init:Object = null):Object3DLoader
Loads and parses a 3ds file into a 3d container 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.
|
public static function loadTextures(data:*, init:Object = null):Object3DLoader
Loads and parses the textures for a 3ds file into a 3d container object.
Parameters
| data:* — The binary data of a loaded file.
|
|
| 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 textures are loading.
|
public static function parse(data:*, init:Object = null, loader:Object3DLoader = null):ObjectContainer3D
Creates a 3d container object from the raw binary data of a 3ds file.
Parameters
| data:* — The binary 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
Click to go to the wiki page for ####WIKI####