Package | away3d.loaders |
Class | public class Max3DS |
Inheritance | Max3DS ![]() ![]() |
Property | Defined by | ||
---|---|---|---|
animationLibrary : AnimationLibrary | Max3DS | ||
![]() | container : Object3D
3d container object used for storing the parsed 3ds object.
| AbstractParser | |
geometryLibrary : GeometryLibrary | Max3DS | ||
materialLibrary : MaterialLibrary
Reference container for all materials used in the 3ds object.
| Max3DS | ||
meshDataList : Array
Array of mesh data objects used for storing the parsed 3ds data structure.
| Max3DS | ||
![]() | parsedChunks : int
Returns the total number of data chunks parsed
| AbstractParser | |
![]() | totalChunks : int
Returns the total number of data chunks available
| AbstractParser |
Method | Defined by | ||
---|---|---|---|
Max3DS
(data:*, init:Object = null)
Creates a new
Max3DS object. | Max3DS | ||
[static]
Loads and parses a 3ds file into a 3d container object.
| Max3DS | ||
[static]
Creates a 3d container object from the raw binary data of a 3ds file.
| Max3DS | ||
![]() |
parseNext():void
Processes the next chunk in the parser
| AbstractParser |
animationLibrary | property |
public var animationLibrary:AnimationLibrary
geometryLibrary | property |
public var geometryLibrary:GeometryLibrary
materialLibrary | property |
public var materialLibrary:MaterialLibrary
Reference container for all materials used in the 3ds object.
meshDataList | property |
public var meshDataList:Array
Array of mesh data objects used for storing the parsed 3ds data structure.
Max3DS | () | constructor |
public function Max3DS(data:*, init:Object = null)
Parameters
data:* — The binary data of a loaded file.
|
|
init:Object (default = null ) — [optional] An initialisation object for specifying default instance properties.
|
texturePath:String (default = "") | |
autoLoadTextures:Boolean (default = true) | |
material:Material | |
centerMeshes:Boolean (default = false) | |
materials:Object |
See also
load | () | method |
public static function load(url:String, init:Object = null):Object3DLoader
Loads and parses a 3ds file into a 3d container object.
Parametersurl:String — The url location of the file to load.
|
|
init:Object (default = null ) — [optional] An initialisation object for specifying default instance properties.
|
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):ObjectContainer3D
Creates a 3d container object from the raw binary data of a 3ds file.
Parametersdata:* — The binary data of a loaded file.
|
|
init:Object (default = null ) — [optional] An initialisation object for specifying default instance properties.
|
ObjectContainer3D —
A 3d container object representation of the 3ds file.
|