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.
Class | Package | Description | |
---|---|---|---|
AbstractPrimitive
| away3d.primitives | Creates a 3d cone primitive. | |
AbstractRenderSession
| away3d.core.render | Abstract Drawing session object containing the method used for drawing the view to screen. | |
AbstractShader
| away3d.materials.shaders | Base class for shaders. | |
AbstractWirePrimitive
| away3d.primitives | Creates a 3d cone primitive. | |
AmbientLight
| away3d.core.light | Ambient light primitive | |
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. | |
Animation
| away3d.core.base | Holds information about the current state of a mesh animation. | |
AnimationEvent
| away3d.events | Passed as a parameter when an animation event occurs | |
AnimationFrame
| away3d.core.base | Holds information about a single animation frame. | |
AnimationGroup
| away3d.core.base | Holds information about a list of animation sequences. | |
AnimationSequence
| away3d.core.base | Holds information about a sequence of animation frames. | |
Animator
| away3d.animation | ||
AnotherRivalFilter
| away3d.core.filter | Corrects triangle z-sorting | |
Ase
| away3d.loaders | File loader for the ASE file format. | |
BaseDemo
| away3d.test | Base class for Away3D demos | |
BaseMesh
| away3d.core.base | Abstract 3d object containing unspecified elements. | |
BaseMeshElement
| away3d.core.base |
Basic 3d element object
Not intended for direct use - use Segment or Face . |
|
BasicRenderer
| away3d.core.render | Default renderer for a view. | |
BitmapFileMaterial
| away3d.materials | Bitmap material that loads it's texture from an external bitmapasset file. | |
BitmapMaterial
| away3d.materials | Basic bitmap material | |
BitmapMaterialContainer
| away3d.materials | Container for caching multiple bitmapmaterial objects. | |
BitmapRenderSession
| away3d.core.render |
Drawing session object that renders all drawing primitives into a Bitmap container. |
|
Blocker
| away3d.core.block | Abstract primitive that can block other primitives from drawing | |
BlockerArray
| away3d.core.block | Array for storing blocker objects | |
BlockerTraverser
| away3d.core.traverse | Traverser that gathers blocker primitives for occlusion culling. | |
Button
| away3d.test | Simple rounded rectangle button | |
CacheStore
| away3d.core.utils | ||
Camera3D
| away3d.cameras | Basic camera used to resolve a view. | |
Cast
| away3d.core.utils | Helper class for casting assets to usable objects | |
CastError
| away3d.core.utils | ||
CenterLightingMaterial
| away3d.materials |
Abstract class for materials that calculate lighting for the face's center
Not intended for direct use - use ShadingColorMaterial or WhiteShadingBitmapMaterial . |
|
Clipping
| away3d.core.clip | Base clipping class for no clipping. | |
Collada
| away3d.loaders | File loader for the Collada file format. | |
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 layering multiple material objects. | |
Cone
| away3d.primitives | Creates a 3d cone primitive. | |
ContainerData
| away3d.loaders.data | Data class for 3d object containers. | |
ConvexBlock
| away3d.blockers | Convex hull blocking all drawing primitives underneath. | |
ConvexBlocker
| away3d.core.block | Convex hull primitive that blocks all primitives behind and contained completely inside. | |
Cube
| away3d.primitives | Creates a 3d cube primitive. | |
CubeLoader
| away3d.loaders | Default loader class used as a placeholder for loading 3d content | |
CubeMaterialsData
| away3d.primitives.data | Data structure for individual materials on the sides of a cube. | |
Cylinder
| away3d.primitives | Creates a 3d cylinder primitive. | |
Debug
| away3d.core.utils | Class for emmiting debuging messages, warnings and errors | |
DebugObjectContainer3D
| away3d.containers |
Extension of ObjectContainer3D used in debugging. |
|
DiffuseDot3Shader
| away3d.materials.shaders | Diffuse Dot3 shader class for directional lighting. | |
DiffusePhongShader
| away3d.materials.shaders | Diffuse shader class for directional lighting. | |
DirectionalLight
| away3d.core.light | Directional light primitive. | |
DirectionalLight3D
| away3d.lights | Lightsource that colors all shaded materials proportional to the dot product of the offset vector with the normal vector. | |
DirSprite2D
| 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 particles. | |
DofSprite2D
| away3d.sprites | Spherical billboard (always facing the camera) sprite object that uses a cached array of bitmapData objects as it's texture. | |
Dot3BitmapMaterial
| away3d.materials | Bitmap material with DOT3 shading. | |
Dot3BitmapMaterialCache
| away3d.materials | Bitmap material with cached DOT3 shading. | |
Dot3MovieMaterial
| away3d.materials | Animated movie material with DOT3 shading. | |
DrawBitmap
| away3d.core.draw | Unscaled bitmap drawing primitive | |
DrawDisplayObject
| away3d.core.draw | Displayobject container drawing primitive. | |
DrawFog
| away3d.core.draw | Fog drawing primitive | |
DrawGroup
| away3d.core.draw | Group drawing primitive. | |
DrawPrimitive
| away3d.core.draw | Abstract class for all drawing primitives | |
DrawScaledBitmap
| away3d.core.draw | Scaled bitmap primitive | |
DrawSegment
| away3d.core.draw | Line segment drawing primitive | |
DrawTriangle
| away3d.core.draw | Triangle drawing primitive | |
Elevation
| away3d.extrusions | ||
ElevationReader
| away3d.extrusions | ||
EnviroBitmapMaterial
| away3d.materials | Bitmap material with environment shading. | |
EnviroBitmapMaterialCache
| away3d.materials | Bitmap material with cached environment shading. | |
EnviroColorMaterial
| away3d.materials | Color material with environment shading. | |
EnviroShader
| away3d.materials.shaders | Shader class for environment lighting. | |
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 | ||
FaceEvent
| away3d.events | Passed as a parameter when a face event occurs | |
FaceVO
| away3d.core.utils | ||
FindHit
| away3d.core.render | Finds the object that is rendered under a certain view coordinate. | |
FogFilter
| away3d.core.filter | Adds fog layers to a view and provides automatic farfield filtering for primitives outside the furthest fog layers. | |
Frame
| away3d.core.base | Holds vertexposition information about a single animation frame. | |
GeodesicSphere
| away3d.primitives | Creates a 3d geodesic sphere primitive. | |
GridPlane
| away3d.primitives | Creates a 3d grid primitive. | |
HoverCamera3D
| away3d.cameras | Extended camera used to hover round a specified target object. | |
IAnimation
| away3d.core.base | Interface for objects that can animate the vertex values in a mesh | |
IBlockerConsumer
| away3d.core.block | Interface for containers capable of storing blockers. | |
IBlockerProvider
| away3d.core.block | Interface for objects that provide blocker instances for occlusion culling in the renderer. | |
IClonable
| away3d.core.utils | Interface for object that can be cloned | |
IFogMaterial
| away3d.materials | Interface for fog filter materials | |
IFrame
| away3d.core.base | Interface for objects that store the vertex values for a single frame of animation | |
ILayerMaterial
| away3d.materials |
Interface for materials that can be layered using CompositeMaterial or BitmapMaterialContainer . |
|
ILightConsumer
| away3d.core.light | Interface for containers capable of storing lighting info | |
ILightProvider
| away3d.core.light | Interface for objects that provide lighting to the scene | |
ILODObject
| away3d.containers | Interface for objects that can toggle their visibily depending on view and distance to camera | |
IMaterial
| away3d.materials | Interface for all objects that can serve as a material | |
IMeshElement
| away3d.core.base | Interface for objects that define a 3d element of a mesh | |
Init
| away3d.core.utils | Convinient object initialization support | |
IPhysicsScene
| away3d.containers | ||
IPrimitiveConsumer
| away3d.core.draw | Interface for containers capable of drawing primitives | |
IPrimitiveFilter
| away3d.core.filter | Interface for filters that work on primitive arrays | |
IPrimitiveProvider
| away3d.core.draw | Interface for objects that provide drawing primitives to the rendering process | |
IPrimitiveQuadrantFilter
| away3d.core.filter | Interface for filters that work on primitive quadrant trees | |
IPrimitiveVolumeBlockFilter
| away3d.core.filter | Interface for filters that work on primitive volume blocks | |
IRenderer
| away3d.core.render | Interface for renderers capable of rendering a scene to a view | |
ISegmentMaterial
| away3d.materials | Interface for materials that are capable of drawing line segments. | |
ITriangleMaterial
| away3d.materials | Interface for materials that are capable of rendering triangle faces. | |
IUpdatingMaterial
| away3d.materials | Interface for materials that require updating every render loop | |
IUVMaterial
| away3d.materials | Interface for materials that use uv texture coordinates | |
Kmz
| away3d.loaders | File loader for the KMZ 4 file format (exported from Google Sketchup). | |
Lathe
| away3d.extrusions | ||
LightArray
| away3d.core.light | Array for storing light primitives. | |
LightPrimitive
| away3d.core.light | Abstract light primitve. | |
Line2D
| away3d.core.draw | Line in 2D space | |
LineSegment
| away3d.primitives | Creates a 3d line segment. | |
LoaderEvent
| away3d.events | Passed as a parameter when a 3d object loader event occurs | |
LODObject
| away3d.containers | 3d object container that is drawn only if its scaling to perspective falls within a given range. | |
LogoCube
| away3d.primitives | Creates a 3d cube primitive with the Away3d logo. | |
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. | |
Matrix3D
| away3d.core.math | A 3D transformation 4x3 matrix | |
Max3DS
| away3d.loaders | File loader for the 3DS file format. | |
Md2
| away3d.loaders | File loader for the Md2 file format. | |
Md2still
| away3d.loaders | File loader for the Md2 file format (non-animated version). | |
Mesh
| away3d.core.base | 3d object containing face and segment elements | |
MeshData
| away3d.loaders.data | Data class for the mesh data of a 3d object | |
MeshElementEvent
| away3d.events | Passed as a parameter when a meshelement event occurs | |
MeshMaterialData
| away3d.loaders.data | Data class for teh material of a 3d object | |
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. | |
Number3D
| away3d.core.math | A point in 3D space. | |
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 - geometry supported tags: f,v,vt, g are being used - 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. |
|
Object3D
| away3d.core.base | Base class for all 3d objects. | |
Object3DEvent
| away3d.events | Passed as a parameter when a 3d object event occurs | |
Object3DLoader
| away3d.loaders | Abstract loader class used as a placeholder for loading 3d content | |
ObjectContainer3D
| away3d.containers | 3d object container node for other 3d objects in a scene | |
ObjectData
| away3d.loaders.data | Data class for a gneric 3d object | |
Panel
| away3d.test | Simple rounded rectangle panel | |
PhongBitmapMaterial
| away3d.materials | Bitmap material with phong shading. | |
PhongBitmapMaterialCache
| away3d.materials | Bitmap material with cached phong shading. | |
PhongColorMaterial
| away3d.materials | Color material with phong shading. | |
PhongColorMaterialCache
| away3d.materials | Color material with cached phong shading. | |
PhongMovieMaterial
| away3d.materials | Animated movie material with phong shading. | |
Plane
| away3d.primitives | Creates a 3d plane primitive. | |
Plane3D
| away3d.core.draw | Plane in 3D space | |
PointLight
| away3d.core.light | Point light primitive | |
PointLight3D
| away3d.lights | Lightsource that colors all shaded materials proportional to the dot product of the distance vector with the normal vector. | |
PrimitiveArray
| away3d.core.draw | Array for storing drawing primitives. | |
PrimitiveQuadrantTree
| away3d.core.draw | Quadrant tree for storing drawing primitives | |
PrimitiveQuadrantTreeNode
| away3d.core.draw | Quadrant tree node | |
PrimitiveTraverser
| away3d.core.traverse | Traverser that gathers drawing primitives to render the scene. | |
PrimitiveVolumeBlock
| away3d.core.draw | Volume block tree for storing drawing primitives | |
PrimitiveVolumeBlockNode
| away3d.core.draw | Volume block tree node | |
Projection
| away3d.core.render | Data object for camera transform, focus and zoom properties. | |
ProjectionTraverser
| away3d.core.traverse | Traverser that resolves the transform tree in a scene, ready for rendering. | |
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. | |
Quaternion
| away3d.core.math | A Quaternion object. | |
RectangleClipping
| away3d.core.clip | Rectangle clipping | |
RegularPolygon
| away3d.primitives | Creates a regular polygon. | |
Renderer
| away3d.core.render | A static class for an easy access to the most useful renderers. | |
Scene3D
| away3d.containers | The root container of all 3d objects in a single scene | |
ScreenVertex
| away3d.core.draw | representation of a 3d vertex resolved to the view. | |
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 | |
SegmentEvent
| away3d.events | Passed as a parameter when a segment event occurs | |
SegmentsExtrude
| away3d.extrusions | ||
ShadingColorMaterial
| away3d.materials | Color material with flat shading. | |
SkinExtrude
| away3d.extrusions | ||
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 | |
SpecularPhongShader
| away3d.materials.shaders | Specular shader class for directional lighting. | |
Sphere
| away3d.primitives | Creates a 3d sphere primitive. | |
Sprite2D
| away3d.sprites | Spherical billboard (always facing the camera) sprite object that uses a bitmapData object as it's texture. | |
SpriteRenderSession
| away3d.core.render |
Drawing session object that renders all drawing primitives into a Sprite container. |
|
Stats
| away3d.core.stats | ||
TargetCamera3D
| away3d.cameras | Extended camera used to automatically look at a specified target object. | |
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. | |
TransformBitmapMaterial
| away3d.materials | Basic bitmap texture material | |
Traverser
| away3d.core.traverse | Abstract class for all traverser that perform actions on the whole scene. | |
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 | ||
Vertex
| away3d.core.base | A vertex coordinate value object. | |
VertexPosition
| away3d.core.base | Vertex position value object. | |
View3D
| away3d.containers | Sprite container used for storing camera, scene, session, renderer and clip references, and resolving mouse events | |
WhiteShadingBitmapMaterial
| away3d.materials | Bitmap material with flat white lighting | |
WireCircle
| away3d.primitives | Creates a 3d wire polygon. | |
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 | |
WireMesh
| away3d.core.base | 3d object containing segment elements | |
WirePlane
| away3d.primitives | Creates a 3d wire plane primitive. | |
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 | |
ZSortFilter
| away3d.core.filter | Sorts drawing primitives by z coordinate. |