Package | away3d.loaders |
Class | public class Max3DS |
Property | Defined by | ||
---|---|---|---|
container : ObjectContainer3D | Max3DS | ||
materialLibrary : MaterialLibrary | Max3DS | ||
meshDataList : Array | Max3DS |
Property | Defined by | ||
---|---|---|---|
centerMeshes : Boolean
In the 3ds file only the file names of texture files are given.
| Max3DS | ||
material : ITriangleMaterial | Max3DS |
Method | Defined by | ||
---|---|---|---|
Max3DS
(data:ByteArray, init:Object = null) | Max3DS | ||
[static]
| Max3DS | ||
[static]
| Max3DS | ||
[static]
| Max3DS |
Constant | Defined by | ||
---|---|---|---|
AMBIENT : String = "ambient" | Max3DS | ||
AMBIENT_LIGHT : int = 0X2100 | Max3DS | ||
ANIM_HEADER : int = 0xB00A | Max3DS | ||
ANIM_NAME : int = 0xB010 | Max3DS | ||
ANIM_OBJ : int = 0xB002 | Max3DS | ||
ANIM_POS : int = 0xB020 | Max3DS | ||
ANIM_ROT : int = 0xB021 | Max3DS | ||
ANIM_SCALE : int = 0xB022 | Max3DS | ||
COLOR_F : int = 0x0010 | Max3DS | ||
COLOR_RGB : int = 0x0011 | Max3DS | ||
DIFFUSE : String = "diffuse" | Max3DS | ||
EDIT3DS : int = 0x3D3D | Max3DS | ||
FLOAT_PERC : int = 0x0031 | Max3DS | ||
HEIRARCHY : int = 0x4F00 | Max3DS | ||
IMAGE_FILE : int = 0x1100 | Max3DS | ||
INT_PERCENTAGE : int = 0x0030 | Max3DS | ||
KEYF3DS : int = 0xB000 | Max3DS | ||
KFVERSION : int = 0x0005 | Max3DS | ||
LIN_COLOR_24 : int = 0x0012 | Max3DS | ||
LIN_COLOR_F : int = 0x0013 | Max3DS | ||
MASTER_SCALE : int = 0x0100 | Max3DS | ||
MAT_AMBIENT : int = 0xA010 | Max3DS | ||
MAT_DIFFUSE : int = 0xA020 | Max3DS | ||
MAT_EMISSIVE : int = 0xA080 | Max3DS | ||
MATERIAL : int = 0xAFFF | Max3DS | ||
MAT_FALLOFF : int = 0xA052 | Max3DS | ||
MAT_NAME : int = 0xA000 | Max3DS | ||
MAT_SHADER : int = 0xA100 | Max3DS | ||
MAT_SHININESS : int = 0xA040 | Max3DS | ||
MAT_SPECULAR : int = 0xA030 | Max3DS | ||
MAT_TEXFLNM : int = 0xA300 | Max3DS | ||
MAT_TEXMAP : int = 0xA200 | Max3DS | ||
MESH : int = 0x4000 | Max3DS | ||
MESH_COLOR_IND : int = 0x4165 | Max3DS | ||
MESH_FACES : int = 0x4120 | Max3DS | ||
MESH_MATER : int = 0x4130 | Max3DS | ||
MESH_OBJECT : int = 0x4100 | Max3DS | ||
MESH_TEX_INFO : int = 0x4170 | Max3DS | ||
MESH_TEX_VERT : int = 0x4140 | Max3DS | ||
MESH_VERSION : int = 0x3D3E | Max3DS | ||
MESH_VERTICES : int = 0x4110 | Max3DS | ||
MESH_XFMATRIX : int = 0x4160 | Max3DS | ||
OBJ_CAMERA : int = 0x4700 | Max3DS | ||
OBJ_LIGHT : int = 0x4600 | Max3DS | ||
PRIMARY : int = 0x4D4D | Max3DS | ||
SPECULAR : String = "specular" | Max3DS | ||
VERSION : int = 0x0002 | Max3DS | ||
VERTEX_FLAGS : int = 0x4111 | Max3DS |
centerMeshes | property |
protected var centerMeshes:Boolean
In the 3ds file only the file names of texture files are given. If the textures are stored in a specific path, that path can be specified through the constructor.
container | property |
public var container:ObjectContainer3D
material | property |
protected var material:ITriangleMaterial
materialLibrary | property |
public var materialLibrary:MaterialLibrary
meshDataList | property |
public var meshDataList:Array
Max3DS | () | constructor |
public function Max3DS(data:ByteArray, init:Object = null)
Parameters
data:ByteArray |
|
init:Object (default = null )
|
load | () | method |
public static function load(url:String, init:Object = null):Object3DLoader
Parameters
url:String |
|
init:Object (default = null )
|
Object3DLoader |
loadTextures | () | method |
public static function loadTextures(data:*, init:Object = null):Object3DLoader
Parameters
data:* |
|
init:Object (default = null )
|
Object3DLoader |
parse | () | method |
public static function parse(data:*, init:Object = null, loader:Object3DLoader = null):Object3D
Parameters
data:* |
|
init:Object (default = null )
|
|
loader:Object3DLoader (default = null )
|
Object3D |
AMBIENT | constant |
public const AMBIENT:String = "ambient"
AMBIENT_LIGHT | constant |
public const AMBIENT_LIGHT:int = 0X2100
ANIM_HEADER | constant |
public const ANIM_HEADER:int = 0xB00A
ANIM_NAME | constant |
public const ANIM_NAME:int = 0xB010
ANIM_OBJ | constant |
public const ANIM_OBJ:int = 0xB002
ANIM_POS | constant |
public const ANIM_POS:int = 0xB020
ANIM_ROT | constant |
public const ANIM_ROT:int = 0xB021
ANIM_SCALE | constant |
public const ANIM_SCALE:int = 0xB022
COLOR_F | constant |
public const COLOR_F:int = 0x0010
COLOR_RGB | constant |
public const COLOR_RGB:int = 0x0011
DIFFUSE | constant |
public const DIFFUSE:String = "diffuse"
EDIT3DS | constant |
public const EDIT3DS:int = 0x3D3D
FLOAT_PERC | constant |
public const FLOAT_PERC:int = 0x0031
HEIRARCHY | constant |
public const HEIRARCHY:int = 0x4F00
IMAGE_FILE | constant |
public const IMAGE_FILE:int = 0x1100
INT_PERCENTAGE | constant |
public const INT_PERCENTAGE:int = 0x0030
KEYF3DS | constant |
public const KEYF3DS:int = 0xB000
KFVERSION | constant |
public const KFVERSION:int = 0x0005
LIN_COLOR_24 | constant |
public const LIN_COLOR_24:int = 0x0012
LIN_COLOR_F | constant |
public const LIN_COLOR_F:int = 0x0013
MASTER_SCALE | constant |
public const MASTER_SCALE:int = 0x0100
MAT_AMBIENT | constant |
public const MAT_AMBIENT:int = 0xA010
MAT_DIFFUSE | constant |
public const MAT_DIFFUSE:int = 0xA020
MAT_EMISSIVE | constant |
public const MAT_EMISSIVE:int = 0xA080
MATERIAL | constant |
public const MATERIAL:int = 0xAFFF
MAT_FALLOFF | constant |
public const MAT_FALLOFF:int = 0xA052
MAT_NAME | constant |
public const MAT_NAME:int = 0xA000
MAT_SHADER | constant |
public const MAT_SHADER:int = 0xA100
MAT_SHININESS | constant |
public const MAT_SHININESS:int = 0xA040
MAT_SPECULAR | constant |
public const MAT_SPECULAR:int = 0xA030
MAT_TEXFLNM | constant |
public const MAT_TEXFLNM:int = 0xA300
MAT_TEXMAP | constant |
public const MAT_TEXMAP:int = 0xA200
MESH | constant |
public const MESH:int = 0x4000
MESH_COLOR_IND | constant |
public const MESH_COLOR_IND:int = 0x4165
MESH_FACES | constant |
public const MESH_FACES:int = 0x4120
MESH_MATER | constant |
public const MESH_MATER:int = 0x4130
MESH_OBJECT | constant |
public const MESH_OBJECT:int = 0x4100
MESH_TEX_INFO | constant |
public const MESH_TEX_INFO:int = 0x4170
MESH_TEX_VERT | constant |
public const MESH_TEX_VERT:int = 0x4140
MESH_VERSION | constant |
public const MESH_VERSION:int = 0x3D3E
MESH_VERTICES | constant |
public const MESH_VERTICES:int = 0x4110
MESH_XFMATRIX | constant |
public const MESH_XFMATRIX:int = 0x4160
OBJ_CAMERA | constant |
public const OBJ_CAMERA:int = 0x4700
OBJ_LIGHT | constant |
public const OBJ_LIGHT:int = 0x4600
PRIMARY | constant |
public const PRIMARY:int = 0x4D4D
SPECULAR | constant |
public const SPECULAR:String = "specular"
VERSION | constant |
public const VERSION:int = 0x0002
VERTEX_FLAGS | constant |
public const VERTEX_FLAGS:int = 0x4111