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.
Class properties

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.