Documentation for classes includes syntax, usage information, and code samples for methods, properties, and event handlers and listeners for those APIs that belong to a specific class in ActionScript. The classes are listed alphabetically. If you are not sure to which class a certain method or property belongs, you can look it up in the Index.


 ClassPackageDescription
 AbstractLens
away3d.cameras.lenses Abstract lens for resolving perspective using the Camera3D object's position and properties
 AbstractLight
away3d.lights Lightsource that colors all shaded materials evenly from any angle
 AbstractParser
away3d.loaders Abstract parsing object used as a base class for all loaders to extend from.
 AbstractPrimitive
away3d.primitives Abstract base class for shaded primitives
 AbstractSession
away3d.core.session Abstract Drawing session object containing the method used for drawing the view to screen.
 AbstractShader
away3d.materials.shaders Base class for shaders.
 AbstractSound3DDriver
away3d.audio.drivers 
 AC3D
away3d.loaders File loader for the AC3D file format (.ac).
 AC3DExporter
away3d.exporters Class AC3DExporter generates a string in the AC3D .ac format representing the object3D(s).
 Align
away3d.tools Class Aligns arrays of Object3Ds, Vector3D's or Vertexes compared to each other.Align
 AmbientLight3D
away3d.lights Lightsource that colors all shaded materials evenly from any angle
 AmbientShader
away3d.materials.shaders Shader class for ambient lighting
 AnimatedBitmapMaterial
away3d.materials Bitmap material that allows fast rendering of animations by caching bitmapdata objects for each frame.
 AnimationData
away3d.loaders.data Data class for the animation of a mesh.
 AnimationDataType
away3d.loaders.data 
 AnimationLibrary
away3d.loaders.utils Store for all animations associated with an externally loaded file.
 Animator
away3d.animators Base class for all animator objects.
 AnimatorEvent
away3d.events Passed as a parameter when an animator event occurs
 AnotherRivalFilter
away3d.core.filter Corrects triangle z-sorting
 Arrow
away3d.primitives Creates a 3D arrow primitive.
 AS3Exporter
away3d.exporters 
 AS3LiteExporter
away3d.exporters 
 Ase
away3d.loaders File loader for the ASE file format.
 AwayStats
away3d.debug

Stats monitor for Away3D or general use in any project.

 AWData
away3d.loaders File loader/parser for the native .awd data file format.
 AWDataExporter
away3d.exporters 
 AWTweener
away3d.animators.utils 
 BaryCentricTest
away3d.tools.utils Classe returns the uv's from a Vector3D on a triangle plane defined with Vertex objects.
 BaseDemo
away3d.test Base class for Away3D demos
 BasicRenderer
away3d.core.render Default renderer for a view.
 BezierPatch
away3d.primitives BezierPatch primitive creates a smooth mesh based on a 4x4 vertex patch using a cubic bezier curve.
 BezierUtils
away3d.core.utils 
 BitmapFileMaterial
away3d.materials Bitmap material that loads it's texture from an external bitmapasset file.
 BitmapMaskMaterial
away3d.materials Basic bitmap material
 BitmapMaterial
away3d.materials Basic bitmap material
 BitmapSession
away3d.core.session Drawing session object that renders all drawing primitives into a Bitmap container.
 Bone
away3d.containers 
 BoneData
away3d.loaders.data Data class for a bone used in SkinAnimation.
 BonesAnimator
away3d.animators 
 BSPBuilder
away3d.graphs.bsp.builder 
 BSPBuildEvent
away3d.events 
 BSPCollider
away3d.physics BSPCollider manages an object to move around in a BSPTree while doing collision detection.
 BSPHitTest
away3d.graphs.bsp Ray to BSP geometry hittest Ideal to build FPS game, where weapons need to check a hit, in order to animate a missile etc...
 BSPNode
away3d.graphs.bsp BSPNode is a single node in a BSPTree
 BSPPortal
away3d.graphs.bsp 
 BSPPVSBuilder
away3d.graphs.bsp.builder 
 BSPRenderer
away3d.core.render BSP renderer for a view.
 BSPTree
away3d.graphs.bsp BSPTree is a scene graph structure that allows static scenes to be rendered without z-sorting or z-conflicts, and performs early culling to remove big parts of the geometry that don't need to be rendered.
 Button
away3d.test Simple rounded rectangle button
 CacheStore
away3d.core.utils 
 Camera3D
away3d.cameras Basic camera used to resolve a view.
 CameraEvent
away3d.events Passed as a parameter when a camera event occurs
 CameraVarsStore
away3d.core.utils 
 Cast
away3d.core.utils Helper class for casting assets to usable objects
 CastError
away3d.core.utils 
 CentralMaterialLibrary
away3d.loaders.utils Store for all materials associated with an externally loaded file.
 Channel
away3d.animators.data 
 ChannelData
away3d.loaders.data Data class for an animation channel
 ChannelLibrary
away3d.loaders.utils Store for all animation channels associated with an externally loaded file.
 Clipping
away3d.core.clip Base clipping class for no clipping.
 ClippingEvent
away3d.events Passed as a parameter when a clip event occurs
 Collada
away3d.loaders File loader for the Collada file format with animation.
 CollisionMap
away3d.extrusions 
 Color
away3d.core.utils Static helper class for color manipulations
 ColorMaterial
away3d.materials Material for solid color drawing
 CompositeMaterial
away3d.materials Container for caching multiple bitmapmaterial objects.
 Cone
away3d.primitives Creates a 3d cone primitive.
 ContainerData
away3d.loaders.data Data class for 3d object containers.
 Cube
away3d.primitives Creates a 3d Cube primitive.
 CubeFaces
away3d.primitives.utils The names of the cube map faces used in CubicEnvMapPBMaterial, to determine the positions of each side's texture
 CubeMappingType
away3d.primitives Static class that provides constant values for the UV mapping options of the Cube primitive.
 CubeMaterialsData
away3d.primitives.data Data structure for individual materials on the sides of a cube.
 CubicEnvMapPBMaterial
away3d.materials BitmapData material which creates reflections based on a cube map.
 CurveLineSegment
away3d.primitives Creates a 3d curved line segment.
 Cylinder
away3d.primitives Creates a 3d cylinder primitive.
 Debug
away3d.core.utils Class for emmiting debuging messages, warnings and errors
 DepthBitmapMaterial
away3d.materials Bitmap material with depth shading.
 DepthOfFieldSprite
away3d.sprites Spherical billboard (always facing the camera) sprite object that uses a cached array of bitmapData objects as it's texture.
 DepthShader
away3d.materials.shaders Shader class for environment lighting.
 DiffuseDot3Shader
away3d.materials.shaders Diffuse Dot3 shader class for directional lighting.
 DiffuseMultiPassMaterial
away3d.materials A diffuse texel shader material with support for multiple and directional lights
 DiffusePBMaterial
away3d.materials Bitmap material with per-texel diffuse (Lambert) shading.
 DiffusePhongShader
away3d.materials.shaders Diffuse shader class for directional lighting.
 DirectionalLight3D
away3d.lights Lightsource that colors all shaded materials proportional to the dot product of the offset vector with the normal vector.
 DirectionalSprite
away3d.sprites Spherical billboard (always facing the camera) sprite object that uses an array of bitmapData objects defined with viewing direction vectors.
 DofCache
away3d.core.utils Provides static pre-blurred bitmap images for depth of field-effect when used together with billboarded sprites, such as Billboards.
 Dot3BitmapMaterial
away3d.materials Bitmap material with DOT3 shading.
 Dot3BitmapMaterialF10
away3d.materials Bitmap material with DOT3 shading.
 Dot3MovieMaterial
away3d.materials Animated movie material with DOT3 shading.
 Drag3D
away3d.tools.utils Class Drag3D allows free dragging of an object3D locked to planes XY, XZ and YZ.
 Element
away3d.core.base Basic 3d element object Not intended for direct use - use Segment or Face.
 ElementEvent
away3d.events Passed as a parameter when a meshelement event occurs
 ElementVO
away3d.core.vos 
 Elevation
away3d.extrusions Class Elevation returns a multidimentional array of Vector3D's to pass to the SkinClass in order to generate an elevated mesh from.
 Elevation2AS3
away3d.exporters Class Elevation2AS3 generates a string class of the elevation to pass to the SkinClass and ElevationReader in order to save space and processing time.
 ElevationModifier
away3d.extrusions Class ElevationModifier updates the vertexes of a flat Mesh such as a Plane, RegularPolygon with a bimap information.ElevationModifier
 ElevationReader
away3d.extrusions 
 EnviroBitmapMaterial
away3d.materials Bitmap material with environment shading.
 EnviroColorMaterial
away3d.materials Color material with environment shading.
 EnviroShader
away3d.materials.shaders Shader class for environment lighting.
 Explode
away3d.tools Class Explode corrects all the faces of an object3d with unic vertexes.Explode Each faces can then be moved independently without influence for the surrounding faces.
 ExporterEvent
away3d.events 
 Face
away3d.core.base A triangle element used in the mesh object
 FaceData
away3d.loaders.data Data class for a face object.
 FaceDictionaryVO
away3d.core.utils 
 FaceLink
away3d.animators 
 FaceMaterialVO
away3d.core.utils 
 FaceNormalShader
away3d.core.utils 
 FaceNormalShaderVO
away3d.core.utils 
 FaceUtils
away3d.core.utils 
 FaceVO
away3d.core.vos 
 FogFilter
away3d.core.filter Adds fog layers to a view and provides automatic farfield filtering for primitives outside the furthest fog layers.
 FogVO
away3d.core.vos 
 FresnelPBMaterial
away3d.materials BitmapData material which creates reflections based on a cube map.
 Frustum
away3d.core.geom 
 FrustumClipping
away3d.core.clip Frustum Clipping
 GeodesicSphere
away3d.primitives Creates a 3d geodesic sphere primitive.
 Geometry
away3d.core.base 3d object containing face and segment elements
 GeometryData
away3d.loaders.data Data class for the geometry data used in a mesh object
 GeometryEvent
away3d.events Passed as a parameter when a geometry event occurs
 GeometryLibrary
away3d.loaders.utils Store for all geometries associated with an externally loaded file.
 GlassMaterial
away3d.materials BitmapData material which creates reflections based on a cube map.
 Graphics3D
away3d.core.base 
 Grid
away3d.tools Class Grid snaps vertexes/objects according to a given grid unit.Grid
 GridPlane
away3d.primitives Creates a 3d grid primitive.
 Grow
away3d.materials.utils.data 
 HeightMapDataChannel
away3d.materials.utils 
 HeightMapModifier
away3d.modifiers 
 HitManager
away3d.core.utils 
 HoverCamera3D
away3d.cameras Extended camera used to hover round a specified target object.
 IBSPBuilder
away3d.graphs.bsp.builder 
 IBSPPlanePicker
away3d.graphs.bsp.builder 
 IBSPPortalProvider
away3d.graphs.bsp.builder Used for BSP Builder classes through which BSPPortals can be retrieved (be it portal generators or wrappers)
 IClonable
away3d.core.utils Interface for object that can be cloned
 IIterator
away3d.graphs 
 ILODObject
away3d.containers Interface for objects that can toggle their visibily depending on view and distance to camera
 Init
away3d.core.utils Convinient object initialization support
 IOverlay
away3d.overlays 
 IPhysicsScene
away3d.containers 
 IPrimitiveFilter
away3d.core.filter Interface for filters that work on primitive arrays
 IPrimitiveQuadrantFilter
away3d.core.filter Interface for filters that work on primitive quadrant trees
 ISound3DDriver
away3d.audio.drivers 
 IteratorEvent
away3d.events 
 ITreeNode
away3d.graphs 
 Kmz
away3d.loaders File loader for the KMZ 4 file format (exported from Google Sketchup).
 LatheExtrusion
away3d.extrusions Class for generating meshes with axial symmetry such as donuts, pipes, vases etc.
 LayerMaterial
away3d.materials Basic bitmap material
 LensFlare
away3d.overlays 
 LightData
away3d.materials.utils.data Class holds typed data for the prebaking class
 LightPrebaker
away3d.materials.utils 
 Line2D
away3d.core.geom Line in 2D space
 LinearExtrusion
away3d.extrusions 
 LineSegment
away3d.primitives Creates a 3d line segment.
 Loader3D
away3d.loaders Abstract loader class used as a placeholder for loading 3d content
 Loader3DEvent
away3d.events Passed as a parameter when a 3d object loader event occurs
 LoaderCube
away3d.loaders Default loader class used as a placeholder for loading 3d content
 LODObject
away3d.containers 3d object container that is drawn only if its scaling to perspective falls within a given range.
 Logo
away3d.core.stats 
 LScan
away3d.materials.utils.data Class holds typed data for the prebaking and the normalgenerator classes
 Material
away3d.materials Base class for all materials
 MaterialData
away3d.loaders.data Data class for the material data of a face.
 MaterialEvent
away3d.events Passed as a parameter when a material event occurs
 MaterialLibrary
away3d.loaders.utils Store for all materials associated with an externally loaded file.
 Matrix3DUtils
away3d.core.math 
 Max3DS
away3d.loaders File loader for the 3DS file format.
 MaxPolyFilter
away3d.core.filter Defines a maximum allowed drawing primitives.
 Md2
away3d.loaders File loader for the Md2 file format.
 Merge
away3d.tools Class Merge merges two meshes into one.Merge
 Mesh
away3d.core.base 3d object containing face and segment elements
 MeshData
away3d.materials.utils.data Class holds typed data for the prebaking class
 MeshData
away3d.loaders.data Data class for the mesh data of a 3d object
 MeshMaterialData
away3d.loaders.data Data class for teh material of a 3d object
 Mirror
away3d.tools Class Mirror an Object3D geometry and its uv's.Mirror
 Morpher
away3d.core.base Keyframe animation morpher
 MouseEvent3D
away3d.events Passed as a parameter when a 3d mouse event occurs
 MovieClipSprite
away3d.sprites Spherical billboard (always facing the camera) sprite object that uses a movieclip as it's texture.
 MovieMaterial
away3d.materials Animated movie material.
 NearfieldClipping
away3d.core.clip Rectangle clipping combined with nearfield clipping
 NGon
away3d.core.geom NGon is an object describing a shape in 3D of any number of points
 NormalBumpMaker
away3d.materials.utils Utility class, principally to transform bump map data into normal map data.
 NormalMapGenerator
away3d.materials.utils 
 NormalMapType
away3d.materials.utils 
 NURBS
away3d.primitives 
 Obj
away3d.loaders File loader for the OBJ file format.

note: Multiple objects support and autoload mtls are supported since Away v 2.1.
Class tested with the following 3D apps:
- Strata CX mac 5.5
- Biturn ver 0.87b4 PC
- LightWave 3D OBJ Export v2.1 PC
- Max2Obj Version 4.0 PC
- AC3D 6.2.025 mac
- Carrara (file provided)
- Hexagon (file provided)
- LD3T (file provided)
- geometry supported tags: f,v,vt, g
- geometry unsupported tags:vn,ka, kd r g b, kd, ks r g b,ks,ke r g b,ke,d alpha,d,tr alpha,tr,ns s,ns,illum n,illum,map_Ka,map_Bump
- mtl unsupported tags: kd,ka,ks,ns,tr

export from apps as polygon group or mesh as .obj file.
added support for 3dmax negative vertexes references
 Object3D
away3d.core.base Base class for all 3d objects.
 Object3DEvent
away3d.events Passed as a parameter when a 3d object event occurs
 ObjectContainer3D
away3d.containers 3d object container node for other 3d objects in a scene
 ObjectData
away3d.loaders.data Data class for a generic 3d object
 ObjExporter
away3d.exporters Class ObjExporter generates a string in the WaveFront obj format representing the object3D(s).
 OrthogonalLens
away3d.cameras.lenses 
 Panel
away3d.test Simple rounded rectangle panel
 ParserEvent
away3d.events Passed as a parameter when a 3d object loader event occurs
 PatchData
away3d.primitives.data PatchData class to provide base patch generation from control points and caching for faster updates.
 Path
away3d.core.geom Holds information about a single Path definition.
 PathAlignModifier
away3d.modifiers 
 PathAnimator
away3d.animators 
 PathCommand
away3d.core.geom 
 PathDebug
away3d.core.geom displays the path information
 PathDuplicator
away3d.extrusions 
 PathEvent
away3d.events 
 PathExtrusion
away3d.extrusions 
 PathUtils
away3d.animators.utils Geometry handlers for classes using Path objects
 PerspectiveLens
away3d.cameras.lenses 
 PhongBitmapMaterial
away3d.materials Bitmap material with phong shading.
 PhongColorMaterial
away3d.materials Color material with phong shading.
 PhongMovieMaterial
away3d.materials Animated movie material with phong shading.
 PhongMultiPassMaterial
away3d.materials A Phong texel shader material supporting multiple lights.
 PhongPBMaterial
away3d.materials Bitmap material with per-texel phong shading.
 Plane
away3d.primitives Creates a 3d plane primitive.
 Plane3D
away3d.core.geom Plane in 3D space
 PointLight3D
away3d.lights Lightsource that colors all shaded materials proportional to the dot product of the distance vector with the normal vector.
 PrimitiveProjector
away3d.core.project 
 PrimitiveTraverser
away3d.core.traverse Traverser that gathers drawing primitives to render the scene.
 PrimitiveType
away3d.core.project 
 ProjectionTraverser
away3d.core.traverse Traverser that resolves the transform tree in a scene, ready for rendering.
 Projector
away3d.materials.utils Class remaps the uvs of an Object3D for a given orientation: projection strings = "front", "back", "top", "bottom", "left","right", "cylindricalX", "cylindricalY", "cylindricalZ", "spherical" or "spherical2"
 QuadrantRenderer
away3d.core.render Renderer that uses quadrant tree for storing and operating drawing primitives.
 QuadrantRiddleFilter
away3d.core.filter Splits all intersecting triangles and line segments.
 QuadrantTreeNode
away3d.core.render Quadrant tree node
 Quaternion
away3d.core.math A Quaternion object.
 Ray
away3d.materials.utils.data 
 RectangleClipping
away3d.core.clip Rectangle clipping
 ReflectivePlane
away3d.primitives 
 RegularPolygon
away3d.primitives Creates a regular polygon.
 RenderData
away3d.materials.utils.data 
 Renderer
away3d.core.render A static class for an easy access to the most useful renderers.
 Replicate
away3d.tools Class Replicate create a new Mesh object from transformed copies of the original.
 RoundedCube
away3d.primitives Creates a 3d roundedcube primitive.
 Scene3D
away3d.containers The root container of all 3d objects in a single scene
 SeaTurtle
away3d.primitives Creates a sea turtle model (exported using asAS3Class).
 Segment
away3d.core.base A line element used in the wiremesh and mesh object
 SegmentVO
away3d.core.vos 
 SessionEvent
away3d.events Passed as a parameter when a session event occurs
 ShadingColorMaterial
away3d.materials Color material with flat shading.
 SimplePanVolumeDriver
away3d.audio.drivers The Simple pan/volume Sound3D driver will alter the pan and volume properties on the sound transform object of a regular flash.media.Sound3D representation of the sound.
 SimplePlanePicker
away3d.graphs.bsp.builder 
 SimpleShadow
away3d.materials.utils This class generates a top projection shadow from vertex information of a given Object3D, Most suitable for still objects.
 SimpleView
away3d.test 
 SkinController
away3d.animators.data 
 SkinExtrude
away3d.extrusions 
 SkinVertex
away3d.animators.data 
 Skybox
away3d.primitives QTVR-style 360 panorama renderer that is initialized with six images.
 Skybox6
away3d.primitives QTVR-style 360 panorama renderer that is initialized with one solid image.
 Slide
away3d.test Represents a single slide of the demo
 Sound3D
away3d.audio

A sound source/emitter object that can be positioned in 3D space, and from which all audio playback will be transformed to simulate orientation.

The Sound3D object works much in the same fashion as primitives, lights and cameras, in that it can be added to a scene and positioned therein.

 SpecularDot3Shader
away3d.materials.shaders Diffuse Dot3 shader class for directional lighting.
 SpecularMultiPassMaterial
away3d.materials A specular-only texel shader material supporting multiple lights.
 SpecularPBMaterial
away3d.materials Bitmap material with per-texel specular-only shading.
 SpecularPhongShader
away3d.materials.shaders Specular shader class for directional lighting.
 Sphere
away3d.primitives Creates a 3d sphere primitive.
 SphericalLens
away3d.cameras.lenses 
 SphericEnvMapPBMaterial
away3d.materials BitmapData material which creates reflections based on a spherical map.
 SpringCam
away3d.cameras A 1st and 3d person camera(depending on positionOffset!), hooked on a physical spring on an optional target.
 Sprite3D
away3d.sprites A graphics element used to represent objects that always face the camera
 SpriteAlign
away3d.sprites 
 SpriteEvent
away3d.events Passed as a parameter when a segment event occurs
 SpriteSession
away3d.core.session Drawing session object that renders all drawing primitives into a Sprite container.
 SpriteVO
away3d.core.vos 
 StaticTextField
away3d.core.stats 
 Stats
away3d.core.stats 
 Swf
away3d.loaders File loader for swfs with injected vector data.
 TangentToObjectMapper
away3d.materials.utils A util class that transforms a tangent space normal map to an object space normal map.
 TargetCamera3D
away3d.cameras Extended camera used to automatically look at a specified target object.
 Tasks
away3d.core.stats Task monitor
 TextExtrusion
away3d.extrusions 
 TextField3D
away3d.primitives 
 TextureLoader
away3d.loaders.utils Used to store the name and loader reference of an external texture image.
 TextureLoadQueue
away3d.loaders.utils Creates a queue of textures that load sequentially
 TickTraverser
away3d.core.traverse Traverser that fires a time-based method for all objects in scene
 Torus
away3d.primitives Creates a 3d torus primitive.
 TorusKnot
away3d.primitives Creates a 3d pq-torus knot primitive (http://en.wikipedia.org/wiki/Torus_knot)
 TraceEvent
away3d.events 
 TransformBitmapMaterial
away3d.materials Basic bitmap texture material
 Traverser
away3d.core.traverse Abstract class for all traverser that perform actions on the whole scene.
 TreeIterator
away3d.graphs 
 Triangle
away3d.primitives Creates a 3d triangle.
 Trident
away3d.primitives Creates an axis trident.
 UV
away3d.core.base Texture coordinates value object.
 ValueObject
away3d.core.utils 
 Vector3DUtils
away3d.core.math 
 VectorIterator
away3d.graphs 
 Vertex
away3d.core.base A vertex coordinate value object.
 VertexAnimator
away3d.animators 
 VertexClassification
away3d.core.base 
 VertexData
away3d.modifiers.data 
 VideoEvent
away3d.events Passed as a parameter when a material event occurs
 VideoMaterial
away3d.materials 
 View3D
away3d.containers Sprite container used for storing camera, scene, session, renderer and clip references, and resolving mouse events
 ViewEvent
away3d.events Passed as a parameter when a view3d event occurs
 ViewSourceObject
away3d.core.utils 
 WaterMap
away3d.materials.utils Water maps allows you to stitch several procedural water normal maps and update the animation with a single method call.
 WeightedVertex
away3d.primitives.data A WeightedVertex that simply extends vertex with a w weight property.
 Weld
away3d.tools Class Weld removes from the faces found of one or more object3d all the duplicated vertexes and uv's.Weld
 WhiteShadingBitmapMaterial
away3d.materials Bitmap material with flat white lighting
 WireColorMaterial
away3d.materials Wire material for solid color drawing with optional face border outlining
 WireCone
away3d.primitives Creates a 3d wire cone primitive.
 WireCube
away3d.primitives Creates a 3d wire cube primitive.
 WireCylinder
away3d.primitives Creates a 3d wire cylinder primitive.
 WireframeMaterial
away3d.materials Wire material for face border outlining only
 WirePlane
away3d.primitives Creates a 3d wire plane primitive.
 WireRegularPolygon
away3d.primitives Creates a 3d wire polygon.
 WireSphere
away3d.primitives Creates a 3d wire sphere primitive.
 WireTorus
away3d.primitives Creates a 3d wire torus primitive.
 ZDepthFilter
away3d.core.filter Defines a maximum z value for rendering primitives
 ZoomFocusLens
away3d.cameras.lenses 
 ZSortFilter
away3d.core.filter Sorts drawing primitives by z coordinate.