Ase
| Kind of class: | public class |
|---|---|
| Package: | org.papervision3d.objects.parsers |
| Inherits from: | TriangleMesh3D < Vertices3D < DisplayObject3D < DisplayObjectContainer3D < EventDispatcher |
| Classpath: | org.papervision3d.objects.parsers.Ase |
| File last modified: | Sunday, 02 March 2008, 15:23:44 |
The Ase class lets you load and parse ASE format objects exported from 3DS Max.Only the geometry and mapping of one mesh is currently parsed.For more complex objects, it is recommended to import Collada scenes with addCollada method.
Summary
Constructor
- Ase (material:MaterialObject3D, filename:String, scale:Number = 1, initObject:Object = null)
- Creates a new Ase object that will load and parse a 3DS Max exported .ASE mesh.
Namespaces
Constants
Constants inherited from DisplayObject3D
Class properties
- DEFAULT_SCALING : Number
- Default scaling value for constructor.
- INTERNAL_SCALING : Number
- Internal scaling value.
Class properties inherited from DisplayObject3D
Instance properties
- loaded : Boolean
- Whether or not the scene has been loaded.
Instance properties inherited from DisplayObject3D
_containerBlendMode _containerSortMode _filters _material _rotationDirty _rotationX _rotationY _rotationZ _scaleDirty _scaleX _scaleY _scaleZ _scene _sorted _transformDirty _useOwnContainer _userData containerBlendMode containerSortMode culled extra faces filters geometry id material materials meshSort name parent rotationX rotationY rotationZ scale scaleX scaleY scaleZ scene sceneX sceneY sceneZ screen screenZ transform useOwnContainer userData view visible world x y z
Instance properties inherited from DisplayObjectContainer3D
Instance methods
Instance methods inherited from TriangleMesh3D
Instance methods inherited from Vertices3D
Instance methods inherited from DisplayObject3D
Instance methods inherited from DisplayObjectContainer3D
Constructor
Ase
public function Ase (
material:MaterialObject3D,
filename:String,
scale:Number = 1,
initObject:Object = null)
Creates a new Ase object that will load and parse a 3DS Max exported .ASE mesh.Only the geometry and mapping of one mesh is currently parsed.
Parameters:
material :
A MaterialObject3D object that contains the material properties of the object.
filename :
Filename of the .ASE object to parse.
scale :
Scaling factor.
initObject:
[optional] - An object that contains user defined properties with which to populate the newly created GeometryObject3D.It includes x, y, z, rotationX, rotationY, rotationZ, scaleX, scaleY scaleZ and a user defined extra object.If extra is not an object, it is ignored. All properties of the extra field are copied into the new instance. The properties specified with extra are publicly available.
Class properties
DEFAULT_SCALING
public static DEFAULT_SCALING:Number = 1
(read,write)
Default scaling value for constructor.
INTERNAL_SCALING
public static INTERNAL_SCALING:Number = 50
(read,write)
Internal scaling value.
Instance properties
loaded
public loaded:Boolean
(read,write)
Whether or not the scene has been loaded.