| Package | org.papervision3d.objects.parsers |
| Class | public class Max3DS |
| Inheritance | Max3DS DisplayObject3D DisplayObjectContainer3D flash.events.EventDispatcher |
| Property | Defined by | ||
|---|---|---|---|
![]() | alpha : Number = 1 | DisplayObject3D | |
![]() | autoCalcScreenCoords : Boolean | DisplayObject3D | |
![]() | blendMode : String = "normal" | DisplayObject3D | |
![]() | children : Object
Returns the children object.
| DisplayObjectContainer3D | |
![]() | container : ViewportLayer | DisplayObject3D | |
![]() | culled : Boolean
[internal use] Is this object culled by camera frustum?
| DisplayObject3D | |
![]() | cullTest : Number = 0 | DisplayObject3D | |
![]() | extra : Object
An object that contains user defined properties.
| DisplayObject3D | |
![]() | faceLevelMode : Boolean [static]
This allows objects faces to have their own containers.
| DisplayObject3D | |
![]() | faces : Array
[internal-use]
| DisplayObject3D | |
| filename : String | Max3DS | ||
![]() | filters : Array | DisplayObject3D | |
![]() | flipLightDirection : Boolean = false | DisplayObject3D | |
![]() | frustumTestMethod : int = 0 | DisplayObject3D | |
![]() | geometry : GeometryObject3D
The GeometryObject3D object that contains the 3D definition of this instance.
| DisplayObject3D | |
![]() | id : int
[read-only] Unique id of this instance.
| DisplayObject3D | |
![]() | localRotationX : Number | DisplayObject3D | |
![]() | localRotationY : Number | DisplayObject3D | |
![]() | localRotationZ : Number | DisplayObject3D | |
![]() | material : MaterialObject3D | DisplayObject3D | |
![]() | materials : MaterialsList
The list of materials for this instance.
| DisplayObject3D | |
![]() | meshSort : uint = 1
tells Mesh3D's render() method to compare the measurement choice of the user for a triangle's sorting
| DisplayObject3D | |
![]() | name : String
An optional object name.
| DisplayObject3D | |
![]() | numChildren : int
Returns the number of children of this object.
| DisplayObjectContainer3D | |
![]() | parent : DisplayObjectContainer3D
[read-only] Indicates the DisplayObjectContainer3D object that contains this display object.
| DisplayObject3D | |
![]() | parentContainer : DisplayObject3D | DisplayObject3D | |
![]() | position : Number3D
A Number3D containing the current x, y, and z of the DisplayObject3D
| DisplayObject3D | |
![]() | root : DisplayObjectContainer3D
[read-only] [read-only] The scene, which is the top-most displayObjectContainer3D in the tree structure.
| DisplayObjectContainer3D | |
![]() | rotationX : Number
Specifies the rotation around the X axis from its original orientation.
| DisplayObject3D | |
![]() | rotationY : Number
Specifies the rotation around the Y axis from its original orientation.
| DisplayObject3D | |
![]() | rotationZ : Number
Specifies the rotation around the Z axis from its original orientation.
| DisplayObject3D | |
![]() | scale : Number
Sets the 3D scale as applied from the registration point of the object.
| DisplayObject3D | |
![]() | scaleX : Number
Sets the scale along the local X axis as applied from the registration point of the object.
| DisplayObject3D | |
![]() | scaleY : Number
Sets the scale along the local Y axis as applied from the registration point of the object.
| DisplayObject3D | |
![]() | scaleZ : Number
Sets the scale along the local Z axis as applied from the registration point of the object.
| DisplayObject3D | |
![]() | scene : SceneObject3D | DisplayObject3D | |
![]() | sceneX : Number
The X coordinate of a object relative to the scene coordinate system.
| DisplayObject3D | |
![]() | sceneY : Number
The Y coordinate of a object relative to the scene coordinate system.
| DisplayObject3D | |
![]() | sceneZ : Number
The Z coordinate of a object relative to the scene coordinate system.
| DisplayObject3D | |
![]() | screen : Number3D
[read-only] The coordinate of the object on screen.
| DisplayObject3D | |
![]() | screenZ : Number
[internal-use] The average depth of the object faces center.
| DisplayObject3D | |
![]() | sortedArray : Array [static]
| DisplayObject3D | |
![]() | testQuad : Boolean = true | DisplayObject3D | |
![]() | transform : Matrix3D
A Matrix3D object containing values that affect the scaling, rotation, and translation of the display object.
| DisplayObject3D | |
![]() | useClipping : Boolean = true | DisplayObject3D | |
![]() | useOwnContainer : Boolean | DisplayObject3D | |
![]() | userData : UserData | DisplayObject3D | |
![]() | view : Matrix3D
[internal-use] A camera transformed Matrix3D object.
| DisplayObject3D | |
![]() | visible : Boolean
Whether or not the display object is visible.
| DisplayObject3D | |
![]() | world : Matrix3D
World transformation.
| DisplayObject3D | |
![]() | x : Number
An Number that sets the X coordinate of a object relative to the origin of its parent.
| DisplayObject3D | |
![]() | y : Number
An Number that sets the Y coordinate of a object relative to the origin of its parent.
| DisplayObject3D | |
![]() | z : Number
An Number that sets the Z coordinate of a object relative to the origin of its parent.
| DisplayObject3D | |
![]() | ZERO : DisplayObject3D
[static]
Returns an empty DiplayObject3D object positioned in the center of the 3D coordinate system (0, 0 ,0).
| DisplayObject3D | |
| Method | Defined by | ||
|---|---|---|---|
|
Max3DS(name:String = null)
Constuctor
| Max3DS | ||
![]() |
Adds a child DisplayObject3D instance to this DisplayObjectContainer instance.
| DisplayObject3D | |
![]() |
Adds all the children of a DisplayObject3D instance to this DisplayObjectContainer instance.
| DisplayObjectContainer3D | |
![]() | DisplayObject3D | ||
![]() |
addGeometry(geometry:GeometryObject3D = null):void
Adds a geometry definition to the instance.
| DisplayObject3D | |
![]() |
calculateScreenCoords(camera:CameraObject3D):void
| DisplayObject3D | |
![]() |
childrenList():String
Returns a string value with the list of objects.
| DisplayObjectContainer3D | |
![]() |
Clones this object.
| DisplayObject3D | |
![]() |
copyPosition(reference:*):void
Copies the position information (x, y and z coordinates) from another object or Matrix3D.
| DisplayObject3D | |
![]() |
copyTransform(reference:*):void
Copies the transformation information (position, rotation and scale) from another object or Matrix3D.
| DisplayObject3D | |
![]() | DisplayObject3D | ||
![]() |
distanceTo(obj:DisplayObject3D):Number
Gets the distance to the position of the given object.
| DisplayObject3D | |
![]() |
getChildByName(name:String, recursive:Boolean = false):DisplayObject3D
Returns the child display object that exists with the specified name.
| DisplayObjectContainer3D | |
![]() |
getMaterialByName(name:String):MaterialObject3D
Returns the material that exists with the specified name in the materials list.
| DisplayObject3D | |
![]() |
hitTestObject(obj:DisplayObject3D, multiplier:Number = 1):Boolean
Evaluates the display object to see if it overlaps or intersects with the obj display object.
| DisplayObject3D | |
![]() |
hitTestPoint(x:Number, y:Number, z:Number):Boolean
Evaluates the display object to see if it overlaps or intersects with the point specified by the x, y and z parameters.
| DisplayObject3D | |
|
load(asset:*, materials:MaterialsList = null, textureDir:String = "./image/"):void
Load.
| Max3DS | ||
![]() |
Make the object look at a specific position.
| DisplayObject3D | |
![]() |
materialsList():String
Returns a string value with the list of material names of the materials list.
| DisplayObject3D | |
![]() |
moveBackward(distance:Number):void
Translate the display object in the opposite direction it is facing, i.e.
| DisplayObject3D | |
![]() |
moveDown(distance:Number):void
Translate the display object downwards, with respect to the direction it is facing, i.e.
| DisplayObject3D | |
![]() |
moveForward(distance:Number):void
Translate the display object in the direction it is facing, i.e.
| DisplayObject3D | |
![]() |
moveLeft(distance:Number):void
Translate the display object lateraly, to the left of the direction it is facing, i.e.
| DisplayObject3D | |
![]() |
moveRight(distance:Number):void
Translate the display object lateraly, to the right of the direction it is facing, i.e.
| DisplayObject3D | |
![]() |
moveUp(distance:Number):void
Translate the display object upwards, with respect to the direction it is facing, i.e.
| DisplayObject3D | |
![]() |
pitch(angle:Number):void
Rotate the display object around its lateral or transverse axis —an axis running from the pilot's left to right in piloted aircraft, and parallel to the wings of a winged aircraft; thus the nose pitches up and the tail down, or vice-versa.
| DisplayObject3D | |
![]() |
[internal-use] Projects three dimensional coordinates onto a two dimensional plane to simulate the relationship of the camera to subject.
| DisplayObject3D | |
![]() |
Removes the specified child DisplayObject3D instance from the child list of the DisplayObjectContainer3D instance.
| DisplayObjectContainer3D | |
![]() |
removeChildByName(name:String):DisplayObject3D
Removes the child DisplayObject3D instance that exists with the specified name, from the child list of the DisplayObjectContainer3D instance.
| DisplayObjectContainer3D | |
![]() |
replaceMaterialByName(material:MaterialObject3D, name:String):void
Replaces a material by its name.
| DisplayObject3D | |
|
replaceTextureExtension(originalExtension:String, preferredExtension:String = "png"):void
Replaces a texture extension with an alternative extension.
| Max3DS | ||
![]() |
roll(angle:Number):void
Rotate the display object around the longitudinal axis —an axis drawn through the body of the vehicle from tail to nose in the normal direction of flight, or the direction the object is facing.
| DisplayObject3D | |
![]() |
setChildMaterial(child:DisplayObject3D, material:MaterialObject3D, existingMaterial:MaterialObject3D = null):void
Sets the material for a child DisplayObject3D.
| DisplayObject3D | |
![]() |
setChildMaterialByName(childName:String, material:MaterialObject3D):void
Sets the material for a child DisplayObject3D by the child's name.
| DisplayObject3D | |
![]() |
toString():String
Returns a string value representing the three-dimensional position values of the display object instance.
| DisplayObject3D | |
![]() |
Move the object along a given direction.
| DisplayObject3D | |
![]() |
updateTransform():void
[internal-use] Updates the transform Matrix3D with the current rotation and scale values.
| DisplayObject3D | |
![]() |
yaw(angle:Number):void
Rotate the display object around about the vertical axis —an axis drawn from top to bottom.
| DisplayObject3D | |
| 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_SORT_CENTER : uint = 1 [static]
tells Mesh3D's render() method to sort by measuring from the center of a triangle
| DisplayObject3D | |
![]() | MESH_SORT_CLOSE : uint = 3 [static]
tells Mesh3D's render() method to sort by measuring from the closest point of a triangle
| DisplayObject3D | |
![]() | MESH_SORT_FAR : uint = 2 [static]
tells Mesh3D's render() method to sort by measuring from the farthest point of a triangle
| DisplayObject3D | |
| 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 | ||
| filename | property |
public var filename:String
| Max3DS | () | constructor |
public function Max3DS(name:String = null)Constuctor
Parametersname:String (default = null) |
| load | () | method |
public function load(asset:*, materials:MaterialsList = null, textureDir:String = "./image/"):voidLoad.
Parametersasset:* |
|
materials:MaterialsList (default = null) |
|
textureDir:String (default = "./image/") |
| replaceTextureExtension | () | method |
public function replaceTextureExtension(originalExtension:String, preferredExtension:String = "png"):voidReplaces a texture extension with an alternative extension.
ParametersoriginalExtension:String — For example "bmp", "gif", etc
|
|
preferredExtension:String (default = "png") — For example "png"
|
| 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