Mirell3D API 

Author:		Martin Szulecki
Organization:	Mirell Development

Copyright (c) 2004 Mirell Development. All Rights Reserved.

Contents

Chapter 1
Introduction
Project Description
Mirell3D API
Chapter 2
API Reference
de.mirell.drawing
ShapeDrawer class
ShapeDrawer.drawArc()
ShapeDrawer.drawCircle()
ShapeDrawer.drawRectangle()
ShapeDrawer.drawStar()
de.mirell.m3d
C3DEngine class
C3DEngine.frameskip
C3DEngine.lightning
C3DEngine.logo
C3DEngine.name
C3DEngine.textures
C3DEngine.version
C3DEngine.render()
C3DEngine.setRenderer()
C3DObject class
C3DObject.C3DObject()
C3DObject.addVertex()
C3DObject.createMovieClip()
C3DObject.destroyMovieClip()
C3DObject.draw()
C3DObject.fromXML()
C3DObject.getDisplay()
C3DObject.getMovieClip()
C3DObject.getParent()
C3DObject.getPosition()
C3DObject.getRotation()
C3DObject.getType()
C3DObject.getVertices()
C3DObject.hasFaces()
C3DObject.hasVertices()
C3DObject.isChanged()
C3DObject.onPress
C3DObject.onRollOut
C3DObject.onRollOver
C3DObject.removeVertex()
C3DObject.rotate()
C3DObject.scale()
C3DObject.setDisplay()
C3DObject.setParent()
C3DObject.setPosition()
C3DObject.setRotation()
C3DObject.toXML()
C3DObject.translate()
CCamera class
CCamera.CCamera()
CCamera.onRender
CCamera.changePitchYawRoll()
CCamera.fromXML()
CCamera.getDirection()
CCamera.getName()
CCamera.getPerspective()
CCamera.getPosition()
CCamera.getRotation()
CCamera.isChanged()
CCamera.lookAt()
CCamera.moveRelative()
CCamera.pitch()
CCamera.roll()
CCamera.rotate()
CCamera.setDirection()
CCamera.setName()
CCamera.setPerspective()
CCamera.setPosition()
CCamera.setRotation()
CCamera.toXML()
CCamera.translate()
CCamera.yaw()
CColor class
CColor.CColor()
CColor.Black
CColor.Blue
CColor.clone()
CColor.Cyan
CColor.fromXML()
CColor.getBlue()
CColor.getColor()
CColor.getColorValue()
CColor.getGreen()
CColor.getRed()
CColor.Green
CColor.Magenta
CColor.Red
CColor.setBlue()
CColor.setColor()
CColor.setColorValue()
CColor.setGreen()
CColor.setRed()
CColor.toString()
CColor.toXML()
CColor.White
CColor.Yellow
CControlVertex class
CControlVertex.CControlVertex()
CControlVertex.fromXML()
CControlVertex.toXML()
CCoordinate class
CCoordinate.CCoordinate()
CCoordinate.x
CCoordinate.y
CCoordinate.z
CCoordinate.clone()
CCoordinate.concat()
CCoordinate.crossProduct()
CCoordinate.distance()
CCoordinate.dotProduct()
CCoordinate.equals()
CCoordinate.fromXML()
CCoordinate.getRotationTo()
CCoordinate.invert()
CCoordinate.isOrigin()
CCoordinate.length
CCoordinate.multiply()
CCoordinate.normalize()
CCoordinate.rotationArc()
CCoordinate.scale()
CCoordinate.substract()
CCoordinate.toString()
CCoordinate.toXML()
CCurve class
CCurve.CCurve()
CCurve.draw()
CLight class
CLight.CLight()
CLight.fromXML()
CLight.getAmbientColor()
CLight.getDiffuseColor()
CLight.getName()
CLight.getPosition()
CLight.setAmbientColor()
CLight.setDiffuseColor()
CLight.setName()
CLight.setPosition()
CLight.toXML()
CLight.translate()
CLine class
CLine.CLine()
CLine.onRotated
CLine.draw()
CLine.fromXML()
CLine.getStyle()
CLine.setStyle()
CLine.toXML()
CModel class
CModel.CModel()
CModel.onFileLoaded
CModel.addObject()
CModel.createMovieClip()
CModel.destroyMovieClip()
CModel.draw()
CModel.fromXML()
CModel.getFaces()
CModel.getName()
CModel.getStyle()
CModel.hasFaces()
CModel.loadFromFile()
CModel.onPress
CModel.onRollOut
CModel.onRollOver
CModel.removeObject()
CModel.removeObjects()
CModel.rotate()
CModel.setName()
CModel.setStyle()
CModel.toXML()
CPointLight class
CPointLight.CPointLight()
CPointLight.fromXML()
CPointLight.toXML()
CPointSprite class
CPointSprite.CPointSprite()
CPointSprite.onRender
CPointSprite.draw()
CPointSprite.fromXML()
CPointSprite.toXML()
CPolygon class
CPolygon.CPolygon()
CPolygon.normal_translated
CPolygon.calculateNormal()
CPolygon.createMovieClip()
CPolygon.destroyMovieClip()
CPolygon.draw()
CPolygon.fromXML()
CPolygon.getCenter()
CPolygon.getFaces()
CPolygon.getNormal()
CPolygon.getStyle()
CPolygon.hasFaces()
CPolygon.isDoubleSided()
CPolygon.rotate()
CPolygon.rotateNormal()
CPolygon.setDoubleSides()
CPolygon.setNormal()
CPolygon.setStyle()
CPolygon.toXML()
CRendererFactory class
CRendererFactory.HIGH
CRendererFactory.LOW
CRendererFactory.LOWEST
CRendererFactory.MEDIUM
CRendererFactory.getRenderer()
CScene class
CScene.CScene()
CScene.onFileLoaded
CScene.onRender
CScene.addCamera()
CScene.addLight()
CScene.addObject()
CScene.addStyle()
CScene.fromXML()
CScene.getActiveCamera()
CScene.getCameras()
CScene.getLights()
CScene.getObject()
CScene.getObjectByName()
CScene.getObjects()
CScene.loadFromFile()
CScene.removeCamera()
CScene.removeLight()
CScene.removeObject()
CScene.removeStyle()
CScene.setActiveCamera()
CScene.setViewport()
CScene.setViewportPosition()
CScene.setViewportSize()
CScene.toXML()
CSprite class
CSprite.CSprite()
CSprite.onRender
CSprite.createMovieClip()
CSprite.destroyMovieClip()
CSprite.fromXML()
CSprite.getSource()
CSprite.getStyle()
CSprite.setSource()
CSprite.setStyle()
CSprite.toXML()
CStyle class
CStyle.CStyle()
CStyle.clone()
CStyle.fromXML()
CStyle.getAlpha()
CStyle.getColor()
CStyle.getDefaultStyle()
CStyle.getLineAlpha()
CStyle.getLineColor()
CStyle.getLineThickness()
CStyle.getName()
CStyle.getTexture()
CStyle.getTextureHeight()
CStyle.getTextureWidth()
CStyle.hasLine()
CStyle.hasTexture()
CStyle.merge()
CStyle.setAlpha()
CStyle.setColor()
CStyle.setLineAlpha()
CStyle.setLineColor()
CStyle.setLineThickness()
CStyle.setName()
CStyle.setTexture()
CStyle.setTextureHeight()
CStyle.setTextureWidth()
CStyle.toString()
CStyle.toXML()
CTexture class
CTexture.CTexture()
CTexture.isLoaded
CTexture.clone()
CTexture.fromXML()
CTexture.getSource()
CTexture.setSource()
CTexture.toXML()
CVertex class
CVertex.CVertex()
CVertex.onRotated
CVertex.fromXML()
CVertex.getObjectSpaceCoordinates()
CVertex.getPosition()
CVertex.getScreenCoordinates()
CVertex.getViewSpaceCoordinates()
CVertex.getWorldSpaceCoordinates()
CVertex.isChanged()
CVertex.rotate()
CVertex.scale()
CVertex.setObjectSpaceCoordinates()
CVertex.setPosition()
CVertex.setScreenCoordinates()
CVertex.setViewSpaceCoordinates()
CVertex.setWorldSpaceCoordinates()
CVertex.toString()
CVertex.toXML()
CVertex.translate()
IDrawable interface
IDrawable.draw()
IMoveable interface
IMoveable.moveBy()
IPositionable interface
IPositionable.getPosition()
IPositionable.setPosition()
IRotateable interface
IRotateable.getRotation()
IRotateable.rotate()
IRotateable.setRotation()
IScaleable interface
IScaleable.scale()
ITranslateable interface
ITranslateable.translate()
de.mirell.m3d.primitives
CCube class
CCube.CCube()
CCube.getSize()
CCube.setSize()
CPyramid class
CPyramid.CPyramid()
CSphere class
CSphere.CSphere()
CSpriteSphere class
CSpriteSphere.CSpriteSphere()
CSpriteSphere.getSize()
de.mirell.math
CQuaternion class
CQuaternion.CQuaternion()
CQuaternion.clone()
CQuaternion.createMatrix()
CQuaternion.fromAxisAngle()
CQuaternion.fromEulerAngles()
CQuaternion.fromPoint()
CQuaternion.fromXML()
CQuaternion.getAxisAngle()
CQuaternion.getEulerAngles()
CQuaternion.getW()
CQuaternion.getX()
CQuaternion.getY()
CQuaternion.getZ()
CQuaternion.invert()
CQuaternion.isIdentity()
CQuaternion.length
CQuaternion.multiply()
CQuaternion.normalize()
CQuaternion.scale()
CQuaternion.toAxes()
CQuaternion.toString()
CQuaternion.toXML()
de.mirell.system
ICloneable interface
ICloneable.clone()
de.mirell.xml.serialization
IXMLSerializable interface
IXMLSerializable.fromXML()
IXMLSerializable.toXML()

Chapter 1
Introduction

Project Description
Mirell3D API
 
Mirell3D is simple and intuitive API Framework designed to minimise the effort for 3D Development with ActionScript 2.0.
example applications using the various framework features enable your web application to quickly and simply show 3D content.
-depth common 3D engine requirements (culling, object management, optimizations...) are handled from Mirell3D saving you valuable time.

Features:

Full API Documentation
Many Examples Included
Quaternion based free full 3D movement Camera
Quaternion based Rotations
Multiple Light, Camera and Object Support (Scenes)
Flat Shaded Lightning
Various Primitives (Line, Polygon, Cube, Sphere, Custom Meshes ...)
All objects support standard MovieClip Events (onPress, onMouseOver, ...)
Z-Sorting and Hidden Backface Removal
Vertex Sharing / Efficient calculations
XML (De-)/Serialization of any Object
Texturemapping support (swf,jpg)
Pointsprites (swf, jpg)
Curves and Curved Polygons
Scene converter for 3D Studio (.3ds) and Quake2 Model (.md2) Files supporting Lights, Cameras, Meshes, Materials
Loading of scenes and models dynamicly from (.m3d) Files
Create scenes in your favourite modeler, export to .3ds, convert to .m3d, load as desired using the engine

Chapter 2
API Reference

de.mirell.drawing

Class Summary
ShapeDrawer	!UPDATE!
	Provides functions to draw shapes on MovieClips using standard Drawing API.

de.mirell.drawing
ShapeDrawer

Provides functions to draw shapes on MovieClips using standard Drawing API. 

class ShapeDrawer
extends Object

 |
  +--de.mirell.drawing.ShapeDrawer

Version:
1.0

Method Summary
Method	Description	
ShapeDrawer.drawArc()	Draw a variable arc within an movie.	
ShapeDrawer.drawCircle()	Draws a circle within a movie.	
ShapeDrawer.drawRectangle()	Draws a rectangle within a movie.	
ShapeDrawer.drawStar()	Draw a star within an movie.	

The documentation was generated from the following file:
ShapeDrawer.as, Last Modified: 04.08.2004 02:12:30

de.mirell.drawing
ShapeDrawer.drawArc

Draw a variable arc within an movie. 

public static function drawArc(Movie: MovieClip, x: Number, y: Number, radius: Number, arc: Number, startAngle: Number, yRadius: Number): Object

Parameters:
Movie	Target Movie

x	This must be the current pen position... other values will look bad

y	This must be the current pen position... other values will look bad

radius	of Arc. If [optional] yRadius is defined, then r is the x radius

arc	sweep of the arc. Negative values draw clockwise.

startAngle	starting angle in degrees.

yRadius	[optional] y radius of arc. Thanks to Robert Penner for the idea.

Author:
Ric Ewing (ric@formequalsfunction.com), Robert Penner, Eric Mueller, Michael Hurwicz

Version:
1.5

de.mirell.drawing
ShapeDrawer.drawCircle

Draws a circle within a movie. 

public static function drawCircle(Movie: MovieClip, x: Number, y: Number, radius: Number): Void

Parameters:
Movie	Target Movie to draw on

x	Center x coordinate of the circle

y	Center y coordinate of the circle

radius	The radius of the circle

Author:
Mirell Development

Version:
1.0

de.mirell.drawing
ShapeDrawer.drawRectangle

Draws a rectangle within a movie. 

public static function drawRectangle(Movie: MovieClip, x: Number, y: Number, width: Number, height: Number): Void

Parameters:
Movie	Target Movie to draw on

x	Top left corner's x coordinate of the rectangle to be drawn

y	Top left corner's y coordinate of the rectangle to be dranw

width	The width of the rectangle

height	The height of the rectangle

Author:
Mirell Development

Version:
1.0

de.mirell.drawing
ShapeDrawer.drawStar

Draw a star within an movie. 

public static function drawStar(Movie: MovieClip, x: Number, y: Number, points: Number, innerRadius: Number, outerRadius: Number, angle: Number): Void

Parameters:
Movie	Target Movie

x	center of star

y	center of star

points	number of points (Math.abs(points) must be > 2)

innerRadius	radius of the indent of the points

outerRadius	radius of the tips of the points

angle	[optional] starting angle in degrees. (defaults to 0)

Author:
Ric Ewing (ric@formequalsfunction.com), Robert Penner, Eric Mueller, Michael Hurwicz

Version:
1.4

de.mirell.m3d

Class Summary
C3DEngine	!UPDATE!
	Core Class for the 3D Engine.
C3DObject	!UPDATE!
	Base class for any object in 3D space
CCamera	!UPDATE!
	A camera with various functions which makes use of Quaternions
CColor	!UPDATE!
	Represents a RGB color
CControlVertex	!UPDATE!
CCoordinate	!UPDATE!
CCurve	!UPDATE!
CLight	!UPDATE!
CLine	!UPDATE!
CModel	!UPDATE!
CPointLight	!UPDATE!
CPointSprite	!UPDATE!
CPolygon	!UPDATE!
CRendererFactory	!UPDATE!
CScene	!UPDATE!
	Definition of a 3D scene with lights, styles, objects and used cameras
CSprite	!UPDATE!
CStyle	!UPDATE!
CTexture	!UPDATE!
CVertex	!UPDATE!
	Standard Vertex representation.

Interface Summary
IDrawable	!UPDATE!
IMoveable	!UPDATE!
IPositionable	!UPDATE!
IRotateable	!UPDATE!
IScaleable	!UPDATE!
ITranslateable	!UPDATE!

de.mirell.m3d
C3DEngine

Core Class for the 3D Engine. 

class C3DEngine
extends Object

 |
  +--de.mirell.m3d.C3DEngine

Author:
Mirell Development

Version:
1.0

Description:
C3DEngine is a static class which keeps global information and is used to set one of the available renderers to be used.
The render (!UPDATE!) method is called in order to have one frame rendered.

Example:
The following code shows a basic setup of a routine for rendering and how to use C3DEngine in it: 

// Skip two frames
C3DEngine.frameskip = 2;
// Assign the highest performance/lowest quality renderer
C3DEngine.setRenderer((new CRendererFactory()).getRenderer(CRendererFactory.LOWEST));
...
_root.onEnterFrame = function(): Void
{
	...
	C3DEngine.render(myScene);
}

See:
CRendererFactory (!UPDATE!), CScene (!UPDATE!)

Field Summary
Field	Description	
C3DEngine.frameskip	Number of frames to skip	
C3DEngine.lightning	Enable/Disable Lightning	
C3DEngine.logo	The Mirell 3D ASCII logo	
C3DEngine.name	Engine name	
C3DEngine.textures	Enable/Disable Textures	
C3DEngine.version	Engine version	

Method Summary
Method	Description	
C3DEngine.render()	Renders a frame of the specified scene	
C3DEngine.setRenderer()	Assigns a renderer to use	

The documentation was generated from the following file:
C3DEngine.as, Last Modified: 03.09.2004 04:11:04

de.mirell.m3d
C3DEngine.frameskip

Number of frames to skip

public static var frameskip: Number

de.mirell.m3d
C3DEngine.lightning

Enable/Disable Lightning

public static var lightning: Number

de.mirell.m3d
C3DEngine.logo

The Mirell 3D ASCII logo

public static var logo: String

de.mirell.m3d
C3DEngine.name

Engine name

public static var name: String

de.mirell.m3d
C3DEngine.textures

Enable/Disable Textures

public static var textures: Number

de.mirell.m3d
C3DEngine.version

Engine version

public static var version: String

de.mirell.m3d
C3DEngine.render

Renders a frame of the specified scene 

public static function render(Scene: CScene)

Usage:
C3DEngine.render(myScene);

Parameters:
Scene	Initialized and populated scene object

See:
CScene (!UPDATE!)

de.mirell.m3d
C3DEngine.setRenderer

Assigns a renderer to use 

public static function setRenderer(Renderer: Function): Void

Usage:
C3DEngine.setRenderer( new CRendererFactory().getRenderer(CRendererFactory.MEDIUM) );

Parameters:
Renderer	Function which handles rendering of a frame

Description:
Assign a function which will be called when a frame needs to be generated.  Mirell 3D provides various performance/quality based renderers in the CRendererFactory (!UPDATE!) class which can be retrieved using CRendererFactory.getRenderer (!UPDATE!).

See:
CRendererFactory.getRenderer (!UPDATE!)

de.mirell.m3d
C3DObject

Base class for any object in 3D space 

dynamic class C3DObject
extends Object
implements IDrawable (!UPDATE!), IPositionable (!UPDATE!), IRotateable (!UPDATE!), IScaleable (!UPDATE!), IXMLSerializable (!UPDATE!)

 |
  +--de.mirell.m3d.C3DObject

All implemented Interfaces:
IDrawable (!UPDATE!), IPositionable (!UPDATE!), IRotateable (!UPDATE!), IScaleable (!UPDATE!), IXMLSerializable (!UPDATE!)

All known Subclasses:
CLine (!UPDATE!), CModel (!UPDATE!), CPolygon (!UPDATE!), CSprite (!UPDATE!)

Author:
Mirell Development

Version:
1.0

Description:
C3DObject implements various standard behaviours used to render an object based on a list of vertices. C3DObject can not draw itself and acts as an abstract class for other classes like CModel (!UPDATE!).

See:
CModel (!UPDATE!)

Property Summary
Property	Description	
C3DObject.onPress	Set the event method associated with this standard movieclip event	
C3DObject.onRollOut	Set the event method associated with this standard movieclip event	
C3DObject.onRollOver	Set the event method associated with this standard movieclip event		

Constructor
Constructor	Description	
C3DObject()	Constructs a new C3DObject instance	

Method Summary
Method	Description	
C3DObject.addVertex()	Adds the specified vertex to the end of the vertexlist	
C3DObject.createMovieClip()	Trigger creation of the object's movieclip	
C3DObject.destroyMovieClip()	Trigger removal of the object's movieclip	
C3DObject.draw()	Draws the object	
C3DObject.fromXML()	Unserializes XML into the object	
C3DObject.getDisplay()	Retrieve the movieclip the object draws itself on	
C3DObject.getMovieClip()	Retrieve the object's movieclip	
C3DObject.getParent()	Retrieves the object associated as the parent of the object	
C3DObject.getPosition()	Retrieves the current center point of the object	
C3DObject.getRotation()	Retrieves the current rotation of the object	
C3DObject.getType()	Retrieve the type of the object	
C3DObject.getVertices()	Retrieve the vertices of the object	
C3DObject.hasFaces()	Determine if object has faces	
C3DObject.hasVertices()	Determine if object has vertices	
C3DObject.isChanged()	Determines if object needs to be redrawn	
C3DObject.removeVertex()	Removes the specified vertex from the vertexlist	
C3DObject.rotate()	Rotate the object using a quaternion	
C3DObject.scale()	Scale the object in space	
C3DObject.setDisplay()	Set the movieclip to draw the object on	
C3DObject.setParent()	Associates an object as the parent of this	
C3DObject.setPosition()	Sets the center point of the object	
C3DObject.setRotation()	Set the current rotation of the object	
C3DObject.toXML()	Serializes the object into XML	
C3DObject.translate()	Translate the position of the object	

The documentation was generated from the following file:
C3DObject.as, Last Modified: 28.08.2004 18:20:10

de.mirell.m3d
C3DObject.C3DObject

Constructs a new C3DObject instance

public function C3DObject()

Description:
The instance is positioned at (0,0,0) with no vertices assigned.

See:
CModel.CModel (!UPDATE!)

de.mirell.m3d
C3DObject.addVertex

Adds the specified vertex to the end of the vertexlist

public function addVertex(Item: CVertex): CVertex

Parameters:
Item	The CVertex (!UPDATE!) to add to the vertices of the object

Returns:
Returns the added vertex

Description:
The vertex is not added if already in the vertexlist of the object

de.mirell.m3d
C3DObject.createMovieClip

Trigger creation of the object's movieclip

public function createMovieClip(): Void

Description:
If a Display was set (!UPDATE!) a new movieclip is created and the target for all drawing operations of the object

de.mirell.m3d
C3DObject.destroyMovieClip

Trigger removal of the object's movieclip

public function destroyMovieClip(): Void

Description:
Remove the movie created from a prior call to createMovieClip (!UPDATE!)

de.mirell.m3d
C3DObject.draw

Draws the object

public function draw(): Void

Specified by:
draw (!UPDATE!) in interface IDrawable (!UPDATE!)

Description:
This method is called from the renderer (!UPDATE!) when the object needs to draw itself.

de.mirell.m3d
C3DObject.fromXML

Unserializes XML into the object

public function fromXML(value: XML): Void

Specified by:
fromXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Parameters:
value	XML which represents the serialized form of the object

Description:
Object state is set according to XML.

de.mirell.m3d
C3DObject.getDisplay

Retrieve the movieclip the object draws itself on

public function getDisplay(): MovieClip

Returns:
The movieclip the object draws itself on

de.mirell.m3d
C3DObject.getMovieClip

Retrieve the object's movieclip

public function getMovieClip(): MovieClip

Description:
The movie is created from a call to createMovieClip (!UPDATE!) and is used for drawing operations

de.mirell.m3d
C3DObject.getParent

Retrieves the object associated as the parent of the object

public function getParent(): Object

Returns:
The object to be considered as parent of the object

de.mirell.m3d
C3DObject.getPosition

Retrieves the current center point of the object

public function getPosition(): CCoordinate

Specified by:
getPosition (!UPDATE!) in interface IPositionable (!UPDATE!)

Returns:
The center of the object

de.mirell.m3d
C3DObject.getRotation

Retrieves the current rotation of the object

public function getRotation(): CQuaternion

Specified by:
getRotation (!UPDATE!) in interface IRotateable (!UPDATE!)

Returns:
The rotation of the object

de.mirell.m3d
C3DObject.getType

Retrieve the type of the object

public function getType(): String

Returns:
The classname of the object

de.mirell.m3d
C3DObject.getVertices

Retrieve the vertices of the object

public function getVertices(): Array

Returns:
Returns the vertices of the object in the current state

de.mirell.m3d
C3DObject.hasFaces

Determine if object has faces

public function hasFaces(): Boolean

Returns:
Returns True if the object has faces

de.mirell.m3d
C3DObject.hasVertices

Determine if object has vertices

public function hasVertices(): Boolean

Returns:
Returns True if the object has vertices

de.mirell.m3d
C3DObject.isChanged

Determines if object needs to be redrawn

public function isChanged(): Boolean

Returns:
True if the object's state has changed since the last call to C3DEngine.render (!UPDATE!)

Description:
If any relevant state within the object (e.g.: vertexlist) is changed since the last call to C3DEngine.render (!UPDATE!)

de.mirell.m3d
C3DObject.onPress

Set the event method associated with this standard movieclip event

public onPress: Function (read, write)

de.mirell.m3d
C3DObject.onRollOut

Set the event method associated with this standard movieclip event

public onRollOut: Function (read, write)

de.mirell.m3d
C3DObject.onRollOver

Set the event method associated with this standard movieclip event	

public onRollOver: Function (read, write)

de.mirell.m3d
C3DObject.removeVertex

Removes the specified vertex from the vertexlist

public function removeVertex(Item: CVertex): Void

Parameters:
Item	Vertex to be removed

Description:
All vertices are shifted up in the vertex array of the object

de.mirell.m3d
C3DObject.rotate

Rotate the object using a quaternion

public function rotate(Value: CQuaternion): Void

Specified by:
rotate (!UPDATE!) in interface IRotateable (!UPDATE!)

Parameters:
Value	The amount to rotate the object set using a CQuaternion

de.mirell.m3d
C3DObject.scale

Scale the object in space

public function scale(Value: CCoordinate): Void

Specified by:
scale (!UPDATE!) in interface IScaleable (!UPDATE!)

Parameters:
Value	The amount to scale the object's x,y and z values using a CCoordinate (!UPDATE!)

de.mirell.m3d
C3DObject.setDisplay

Set the movieclip to draw the object on

public function setDisplay(display: MovieClip): Void

Parameters:
display	Target movieclip for drawing operations

de.mirell.m3d
C3DObject.setParent

Associates an object as the parent of this

public function setParent(Parent: Object): Void

Parameters:
Parent	The object to be considered as parent of the object

Description:
Used to traverse object relation trees. Usefull for a vertex to determine it's parent object it belongs to.

de.mirell.m3d
C3DObject.setPosition

Sets the center point of the object

public function setPosition(Value: CCoordinate): Void

Specified by:
setPosition (!UPDATE!) in interface IPositionable (!UPDATE!)

Parameters:
Value	The new center of the object

de.mirell.m3d
C3DObject.setRotation

Set the current rotation of the object

public function setRotation(Value: CQuaternion): Void

Specified by:
setRotation (!UPDATE!) in interface IRotateable (!UPDATE!)

Parameters:
Value	The rotation of the object specfied by a CQuaternion

de.mirell.m3d
C3DObject.toXML

Serializes the object into XML

public function toXML(): XML

Specified by:
toXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Returns:
The XML which contains the serialized representation of the object

Description:
The current object state will be serialized. The fromXML (!UPDATE!) method must be able to unserialize the XML.

de.mirell.m3d
C3DObject.translate

Translate the position of the object

public function translate(Value: CCoordinate): Void

Specified by:
translate (!UPDATE!) in interface ITranslateable (!UPDATE!)

Parameters:
Value	The amount to translate the object's position's x,y and z values using a CCoordinate (!UPDATE!)

de.mirell.m3d
CCamera

A camera with various functions which makes use of Quaternions 

dynamic class CCamera
extends Object
implements IPositionable (!UPDATE!), IRotateable (!UPDATE!), IXMLSerializable (!UPDATE!)

 |
  +--de.mirell.m3d.CCamera

All implemented Interfaces:
IPositionable (!UPDATE!), IRotateable (!UPDATE!), IXMLSerializable (!UPDATE!)

Author:
Mirell Development

Version:
1.0

Description:
Example:

Field Summary
Field	Description	
CCamera.onRender	A function to be called every rendercycle	

Constructor
Constructor	Description	
CCamera()	Constructs a new Camera instance	

Method Summary
Method	Description	
CCamera.changePitchYawRoll()	Set the camera rotation using euler angles	
CCamera.fromXML()	Unserializes XML into the object	
CCamera.getDirection()	Retrieves the current direction vector	
CCamera.getName()	Retrives the name identifier for this camera	
CCamera.getPerspective()	Retrieves the currently set perspective of this camera	
CCamera.getPosition()	Retrieves the current center point of the object	
CCamera.getRotation()	Retrieves the current rotation of the object	
CCamera.isChanged()	Determines if objectstate has changed	
CCamera.lookAt()	Rotates camera to point to a coordinate in space	
CCamera.moveRelative()	Moves this camera relative to it's current view vector	
CCamera.pitch()	Set the pitch of this camera	
CCamera.roll()	Set the roll of this camera	
CCamera.rotate()	Rotate the object using a quaternion	
CCamera.setDirection()	Set the current direction vector	
CCamera.setName()	Retrives the name identifier for this camera	
CCamera.setPerspective()	Sets perspective of this camera	
CCamera.setPosition()	Sets the center point of the object	
CCamera.setRotation()	Set the current rotation of the object	
CCamera.toXML()	Serializes the object into XML	
CCamera.translate()	Translate the position of the object	
CCamera.yaw()	Set the yaw of this camera	

The documentation was generated from the following file:
CCamera.as, Last Modified: 03.09.2004 21:49:50

de.mirell.m3d
CCamera.CCamera

Constructs a new Camera instance

public function CCamera()

Usage:
myCamera = new CCamera();

Description:
The instance's state is set to "change" upon creation and positioned at 0,0,0.

de.mirell.m3d
CCamera.onRender

A function to be called every rendercycle

public var onRender: Function

Usage:

myCamera.onRender = function ()
{
	...
}

de.mirell.m3d
CCamera.changePitchYawRoll

Set the camera rotation using euler angles 

public function changePitchYawRoll(pitch, yaw, roll: Number): Void

Parameters:
pitch	The pitch in degrees

yaw	The yaw in degrees

roll	The roll in degrees	 	

Description:
This function calls rotate (!UPDATE!) for the rotation.

de.mirell.m3d
CCamera.fromXML

Unserializes XML into the object

public function fromXML(value: XML): Void

Specified by:
fromXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Parameters:
value	XML which represents the serialized form of the object

Description:
Object state is set according to XML.

de.mirell.m3d
CCamera.getDirection

Retrieves the current direction vector

public function getDirection(): CCoordinate

Returns:
Direction vector as CCoordinate

de.mirell.m3d
CCamera.getName

Retrives the name identifier for this camera

public function getName(): String

Returns:
The name of this camera.

de.mirell.m3d
CCamera.getPerspective

Retrieves the currently set perspective of this camera 

public function getPerspective(): Number

Returns:
Perspective in units.

de.mirell.m3d
CCamera.getPosition

Retrieves the current center point of the object

public function getPosition(): CCoordinate

Specified by:
getPosition (!UPDATE!) in interface IPositionable (!UPDATE!)

Returns:
The center of the object

de.mirell.m3d
CCamera.getRotation

Retrieves the current rotation of the object

public function getRotation(): CQuaternion

Specified by:
getRotation (!UPDATE!) in interface IRotateable (!UPDATE!)

Returns:
The rotation of the object

de.mirell.m3d
CCamera.isChanged

Determines if objectstate has changed

public function isChanged(): Boolean

Returns:
True if the object's state has changed since the last call to C3DEngine.render (!UPDATE!)

Description:
If any relevant state within the object (e.g.: vertexlist) is changed since the last call to C3DEngine.render (!UPDATE!)

de.mirell.m3d
CCamera.lookAt

Rotates camera to point to a coordinate in space

public function lookAt(targetPoint: CCoordinate): Void

Parameters:
targetPoint	The coordinate to target.

Description:
Concstant calls to lookAt (!UPDATE!) result in the effect of the camera looking towards the specified coordinate even while moving. (Follow a coordinate)

de.mirell.m3d
CCamera.moveRelative

Moves this camera relative to it's current view vector 

public function moveRelative(Value: CCoordinate): Void

Parameters:
Value	The movement specified as a CCoordinate.

Description:
Moves this camera in all directions based on the current view vector (which is internaly handled by a Quaternion).

Example:

// Move the camera forward
myCamera.moveRelative( new CCoordinate(0,0,10) );
// Move the camera left
myCamera.moveRelative( new CCoordinate(-10,0,0) );

de.mirell.m3d
CCamera.pitch

Set the pitch of this camera

public function pitch(degrees: Number): Void

Parameters:
degrees	The pitch in degrees

Description:
This function calls rotate (!UPDATE!) for the rotation.

de.mirell.m3d
CCamera.roll

Set the roll of this camera

public function roll(degrees: Number): Void

Parameters:
degrees	The roll in degrees

Description:
This function calls rotate (!UPDATE!) for the rotation.

de.mirell.m3d
CCamera.rotate

Rotate the object using a quaternion

public function rotate(q: CQuaternion): Void

Specified by:
rotate (!UPDATE!) in interface IRotateable (!UPDATE!)

Parameters:
q	The amount to rotate the object set using a de.mirell.math.CQuaternion (!UPDATE!)

de.mirell.m3d
CCamera.setDirection

Set the current direction vector

public function setDirection(v: CCoordinate): Void

Parameters:
v	A vector in space specified as CCoordinate

de.mirell.m3d
CCamera.setName

Retrives the name identifier for this camera 

public function setName(Value: String): Void

Returns:
The name of this camera.

Description:
Assign names to cameras.

de.mirell.m3d
CCamera.setPerspective

Sets perspective of this camera 

public function setPerspective(Value: Number): Void

Parameters:
Value	Perspective in units.

de.mirell.m3d
CCamera.setPosition

Sets the center point of the object

public function setPosition(Value: CCoordinate): Void

Specified by:
setPosition (!UPDATE!) in interface IPositionable (!UPDATE!)

Parameters:
Value	The new center of the object

de.mirell.m3d
CCamera.setRotation

Set the current rotation of the object

public function setRotation(Value: CQuaternion): Void

Specified by:
setRotation (!UPDATE!) in interface IRotateable (!UPDATE!)

Parameters:
Value	The rotation of the object specfied by a de.mirell.math.CQuaternion (!UPDATE!)

de.mirell.m3d
CCamera.toXML

Serializes the object into XML

public function toXML(): XML

Specified by:
toXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Returns:
The XML which contains the serialized representation of the object

Description:
The current object state will be serialized. The fromXML (!UPDATE!) method must be able to unserialize the XML.

de.mirell.m3d
CCamera.translate

Translate the position of the object

public function translate(Value: CCoordinate): Void

Specified by:
translate (!UPDATE!) in interface ITranslateable (!UPDATE!)

Parameters:
Value	The amount to translate the object's position's x,y and z values using a CCoordinate (!UPDATE!)

de.mirell.m3d
CCamera.yaw

Set the yaw of this camera

public function yaw(degrees: Number): Void

Parameters:
degrees	The yaw in degrees

Description:
This function calls rotate (!UPDATE!) for the rotation.

de.mirell.m3d
CColor

Represents a RGB color

class CColor
extends Object
implements IXMLSerializable (!UPDATE!)

 |
  +--de.mirell.m3d.CColor

All implemented Interfaces:
IXMLSerializable (!UPDATE!)

Usage:
myColor = new CColor(255,0,0); // Red Color

Author:
Mirell Development

Version:
1.0.0

Description:
Various methods allow for manipulation of colors within the Mirell3D system.

Property Summary
Property	Description	
CColor.Black		
CColor.Blue		
CColor.Cyan		
CColor.Green		
CColor.Magenta		
CColor.Red		
CColor.White		
CColor.Yellow		

Constructor
Constructor	Description	
CColor()	Constructs a new color object	

Method Summary
Method	Description	
CColor.clone()	Returns an excact copy of this color	
CColor.fromXML()	Unserializes XML into the object	
CColor.getBlue()	Retrives the amount of red in the color	
CColor.getColor()	Returns a new color instance of this color	
CColor.getColorValue()	Return the color as decimal value	
CColor.getGreen()	Retrives the amount of green in the color	
CColor.getRed()	Retrieves the amount of red in the color	
CColor.setBlue()	Sets the amount of blue in the color	
CColor.setColor()	Sets this color's RGB amounts	
CColor.setColorValue()	Sets this color's RGB values using a decimal value	
CColor.setGreen()	Sets the amount of green in the color	
CColor.setRed()	Sets the amount of red in the color	
CColor.toString()	Converts the specified object to a string and returns it.	
CColor.toXML()	Serializes the object into XML	

The documentation was generated from the following file:
CColor.as, Last Modified: 21.08.2004 22:31:36

de.mirell.m3d
CColor.CColor

Constructs a new color object

public function CColor(r: Number, g: Number, b: Number)

Usage:
new CColor(r: Number, g: Number, b: Number)

de.mirell.m3d
CColor.Black

public static Black: CColor (read-only)

de.mirell.m3d
CColor.Blue

public static Blue: CColor (read-only)

de.mirell.m3d
CColor.clone

Returns an excact copy of this color

public function clone(): CColor

Returns:
Copy of this color as a new instance

de.mirell.m3d
CColor.Cyan

public static Cyan: CColor (read-only)

de.mirell.m3d
CColor.fromXML

Unserializes XML into the object

public function fromXML(value: XML): Void

Specified by:
fromXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Parameters:
value	XML which represents the serialized form of the object

Description:
Object state is set according to XML.

de.mirell.m3d
CColor.getBlue

Retrives the amount of red in the color

public function getBlue(): Number

Returns:
Blue Amount

de.mirell.m3d
CColor.getColor

Returns a new color instance of this color

public function getColor(): CColor

Returns:
New CColor with the same RGB amounts as this color

de.mirell.m3d
CColor.getColorValue

Return the color as decimal value

public function getColorValue(): Number

Returns:
Returns the decimal color representation

de.mirell.m3d
CColor.getGreen

Retrives the amount of green in the color

public function getGreen(): Number

Returns:
Green Amount

de.mirell.m3d
CColor.getRed

Retrieves the amount of red in the color

public function getRed(): Number

Returns:
Red Amount	

de.mirell.m3d
CColor.Green

public static Green: CColor (read-only)

de.mirell.m3d
CColor.Magenta

public static Magenta: CColor (read-only)

de.mirell.m3d
CColor.Red

public static Red: CColor (read-only)

de.mirell.m3d
CColor.setBlue

Sets the amount of blue in the color

public function setBlue(value: Number): Void

Parameters:
value	Blue Amount

de.mirell.m3d
CColor.setColor

Sets this color's RGB amounts

public function setColor(r: Number, g: Number, b: Number): CColor

Parameters:
r	Red Amount

g	Green Amount

b	Blue Amount	 	

Returns:
Returns a reference to itself

de.mirell.m3d
CColor.setColorValue

Sets this color's RGB values using a decimal value

public function setColorValue(value: Number): CColor

Parameters:
value	A decimal value being used to populate the RGB values

Example:

myColor.setColorValue(0xFF0000); // Red color

de.mirell.m3d
CColor.setGreen

Sets the amount of green in the color

public function setGreen(value: Number): Void

Parameters:
value	Green Amount	

de.mirell.m3d
CColor.setRed

Sets the amount of red in the color

public function setRed(value: Number): Void

Parameters:
value	Red Amount

de.mirell.m3d
CColor.toString

Converts the specified object to a string and returns it.

public function toString(): String

Overrides:
Object.toString in class Object

Returns:
A string.

Example:

trace(new myColor(255,0,0).toString()); // traces: "r:255,g:0,b:0"

de.mirell.m3d
CColor.toXML

Serializes the object into XML

public function toXML(): XML

Specified by:
toXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Returns:
The XML which contains the serialized representation of the object

Description:
The current object state will be serialized. The fromXML (!UPDATE!) method must be able to unserialize the XML.

de.mirell.m3d
CColor.White

public static White: CColor (read-only)

de.mirell.m3d
CColor.Yellow

public static Yellow: CColor (read-only)

de.mirell.m3d
CControlVertex

class CControlVertex
extends CVertex
implements IXMLSerializable (!UPDATE!)

 |
  +--de.mirell.m3d.CVertex
     |
     +--de.mirell.m3d.CControlVertex

All implemented Interfaces:
IXMLSerializable (!UPDATE!)

Author:
Mirell Development

Version:
N/A

Constructor
Constructor	Description	
CControlVertex()		

Method Summary
Method	Description	
CControlVertex.fromXML()	Unserializes XML into the object	
CControlVertex.toXML()	Serializes the object into XML	

The documentation was generated from the following file:
CControlVertex.as, Last Modified: 02.01.2004 05:29:58

de.mirell.m3d
CControlVertex.CControlVertex

public function CControlVertex(Pos: CCoordinate)

de.mirell.m3d
CControlVertex.fromXML

Unserializes XML into the object

public function fromXML(value: XML): Void

Specified by:
fromXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Overrides:
CVertex.fromXML (!UPDATE!) in class CVertex (!UPDATE!)

Parameters:
value	XML which represents the serialized form of the object

Description:
Object state is set according to XML.

de.mirell.m3d
CControlVertex.toXML

Serializes the object into XML

public function toXML(): XML

Specified by:
toXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Overrides:
CVertex.toXML (!UPDATE!) in class CVertex (!UPDATE!)

Returns:
The XML which contains the serialized representation of the object

Description:
The current object state will be serialized. The fromXML (!UPDATE!) method must be able to unserialize the XML.

de.mirell.m3d
CCoordinate

class CCoordinate
extends Object
implements IXMLSerializable (!UPDATE!)

 |
  +--de.mirell.m3d.CCoordinate

All implemented Interfaces:
IXMLSerializable (!UPDATE!)

Field Summary
Field	Description	
CCoordinate.x		
CCoordinate.y		
CCoordinate.z		

Property Summary
Property	Description	
CCoordinate.length		

Constructor
Constructor	Description	
CCoordinate()		

Method Summary
Method	Description	
CCoordinate.clone()		
CCoordinate.concat()		
CCoordinate.crossProduct()		
CCoordinate.distance()		
CCoordinate.dotProduct()		
CCoordinate.equals()		
CCoordinate.fromXML()	Unserializes XML into the object	
CCoordinate.getRotationTo()		
CCoordinate.invert()		
CCoordinate.isOrigin()		
CCoordinate.multiply()		
CCoordinate.normalize()		
CCoordinate.rotationArc()		
CCoordinate.scale()		
CCoordinate.substract()		
CCoordinate.toString()	Converts the specified object to a string and returns it.	
CCoordinate.toXML()	Serializes the object into XML	

The documentation was generated from the following file:
CCoordinate.as, Last Modified: 06.01.2004 03:52:24

de.mirell.m3d
CCoordinate.CCoordinate

public function CCoordinate(x, y, z: Number)

de.mirell.m3d
CCoordinate.x

public var x: Number

de.mirell.m3d
CCoordinate.y

public var y: Number

de.mirell.m3d
CCoordinate.z

public var z: Number

de.mirell.m3d
CCoordinate.clone

public function clone(): CCoordinate

de.mirell.m3d
CCoordinate.concat

public function concat(c: CCoordinate): CCoordinate

de.mirell.m3d
CCoordinate.crossProduct

public function crossProduct(Value: CCoordinate): CCoordinate

de.mirell.m3d
CCoordinate.distance

public function distance(Value: CCoordinate): Number

de.mirell.m3d
CCoordinate.dotProduct

public function dotProduct(Value: CCoordinate): Number

de.mirell.m3d
CCoordinate.equals

public function equals(c: CCoordinate): Boolean

de.mirell.m3d
CCoordinate.fromXML

Unserializes XML into the object

public function fromXML(value: XML): Void

Specified by:
fromXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Parameters:
value	XML which represents the serialized form of the object

Description:
Object state is set according to XML.

de.mirell.m3d
CCoordinate.getRotationTo

public function getRotationTo(dest: CCoordinate): CQuaternion

de.mirell.m3d
CCoordinate.invert

public function invert(): CCoordinate

de.mirell.m3d
CCoordinate.isOrigin

public function isOrigin(): Boolean

de.mirell.m3d
CCoordinate.length

public length: Number (read-only)

de.mirell.m3d
CCoordinate.multiply

public function multiply(Value: CCoordinate): CCoordinate

de.mirell.m3d
CCoordinate.normalize

public function normalize(): CCoordinate

de.mirell.m3d
CCoordinate.rotationArc

public function rotationArc(to: CCoordinate): CQuaternion

de.mirell.m3d
CCoordinate.scale

public function scale(Value: Number): CCoordinate

de.mirell.m3d
CCoordinate.substract

public function substract(c: CCoordinate): CCoordinate

de.mirell.m3d
CCoordinate.toString

Converts the specified object to a string and returns it.

public function toString(): String

Overrides:
Object.toString in class Object

Returns:
A string.

de.mirell.m3d
CCoordinate.toXML

Serializes the object into XML

public function toXML(): XML

Specified by:
toXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Returns:
The XML which contains the serialized representation of the object

Description:
The current object state will be serialized. The fromXML (!UPDATE!) method must be able to unserialize the XML.

de.mirell.m3d
CCurve

class CCurve
extends CLine
implements IDrawable (!UPDATE!)

 |
  +--de.mirell.m3d.C3DObject
     |
     +--de.mirell.m3d.CLine
        |
        +--de.mirell.m3d.CCurve

All implemented Interfaces:
IDrawable (!UPDATE!)

Author:
Mirell Development

Version:
1.0

Description:
Example:

Constructor
Constructor	Description	
CCurve()		

Method Summary
Method	Description	
CCurve.draw()	Draws the object	

The documentation was generated from the following file:
CCurve.as, Last Modified: 04.08.2004 02:10:24

de.mirell.m3d
CCurve.CCurve

public function CCurve()

de.mirell.m3d
CCurve.draw

Draws the object

public function draw(): Void

Specified by:
draw (!UPDATE!) in interface IDrawable (!UPDATE!)

Overrides:
CLine.draw (!UPDATE!) in class CLine (!UPDATE!)

Description:
This method is called from the renderer (!UPDATE!) when the object needs to draw itself.

de.mirell.m3d
CLight

dynamic class CLight
extends Object
implements IPositionable (!UPDATE!), IXMLSerializable (!UPDATE!)

 |
  +--de.mirell.m3d.CLight

All implemented Interfaces:
IPositionable (!UPDATE!), IXMLSerializable (!UPDATE!)

All known Subclasses:
CPointLight (!UPDATE!)

Author:
Mirell Development

Version:
1.0

Description:
Example:

Constructor
Constructor	Description	
CLight()	Creates an ambient light	

Method Summary
Method	Description	
CLight.fromXML()	Unserializes XML into the object	
CLight.getAmbientColor()		
CLight.getDiffuseColor()		
CLight.getName()		
CLight.getPosition()	Retrieves the current center point of the object	
CLight.setAmbientColor()		
CLight.setDiffuseColor()		
CLight.setName()		
CLight.setPosition()	Sets the center point of the object	
CLight.toXML()	Serializes the object into XML	
CLight.translate()	Translate the position of the object	

The documentation was generated from the following file:
CLight.as, Last Modified: 03.09.2004 21:50:46

de.mirell.m3d
CLight.CLight

Creates an ambient light

public function CLight(diffuse, ambient: CColor)

Description:
Instance is positioned at 0,0,0.

de.mirell.m3d
CLight.fromXML

Unserializes XML into the object

public function fromXML(value: XML): Void

Specified by:
fromXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Parameters:
value	XML which represents the serialized form of the object

Description:
Object state is set according to XML.

de.mirell.m3d
CLight.getAmbientColor

public function getAmbientColor(): CColor

de.mirell.m3d
CLight.getDiffuseColor

public function getDiffuseColor(): CColor

de.mirell.m3d
CLight.getName

public function getName(): String

de.mirell.m3d
CLight.getPosition

Retrieves the current center point of the object

public function getPosition(): CCoordinate

Specified by:
getPosition (!UPDATE!) in interface IPositionable (!UPDATE!)

Returns:
The center of the object

de.mirell.m3d
CLight.setAmbientColor

public function setAmbientColor(Value: CColor): CLight

de.mirell.m3d
CLight.setDiffuseColor

public function setDiffuseColor(Value: CColor): CLight

de.mirell.m3d
CLight.setName

public function setName(Value: String): Void

de.mirell.m3d
CLight.setPosition

Sets the center point of the object

public function setPosition(Value: CCoordinate): Void

Specified by:
setPosition (!UPDATE!) in interface IPositionable (!UPDATE!)

Parameters:
Value	The new center of the object

de.mirell.m3d
CLight.toXML

Serializes the object into XML

public function toXML(): XML

Specified by:
toXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Returns:
The XML which contains the serialized representation of the object

Description:
The current object state will be serialized. The fromXML (!UPDATE!) method must be able to unserialize the XML.

de.mirell.m3d
CLight.translate

Translate the position of the object

public function translate(Value: CCoordinate): Void

Specified by:
translate (!UPDATE!) in interface ITranslateable (!UPDATE!)

Parameters:
Value	The amount to translate the object's position's x,y and z values using a CCoordinate (!UPDATE!)

de.mirell.m3d
CLine

class CLine
extends C3DObject
implements IDrawable (!UPDATE!), IXMLSerializable (!UPDATE!)

 |
  +--de.mirell.m3d.C3DObject
     |
     +--de.mirell.m3d.CLine

All implemented Interfaces:
IDrawable (!UPDATE!), IXMLSerializable (!UPDATE!)

All known Subclasses:
CCurve (!UPDATE!)

Field Summary
Field	Description	
CLine.onRotated		

Constructor
Constructor	Description	
CLine()		

Method Summary
Method	Description	
CLine.draw()	Draws the object	
CLine.fromXML()	Unserializes XML into the object	
CLine.getStyle()		
CLine.setStyle()		
CLine.toXML()	Serializes the object into XML	

The documentation was generated from the following file:
CLine.as, Last Modified: 02.01.2004 05:30:20

de.mirell.m3d
CLine.CLine

public function CLine()

de.mirell.m3d
CLine.onRotated

public var onRotated: Function

de.mirell.m3d
CLine.draw

Draws the object

public function draw(): Void

Specified by:
draw (!UPDATE!) in interface IDrawable (!UPDATE!)

Overrides:
C3DObject.draw (!UPDATE!) in class C3DObject (!UPDATE!)

Description:
This method is called from the renderer (!UPDATE!) when the object needs to draw itself.

de.mirell.m3d
CLine.fromXML

Unserializes XML into the object

public function fromXML(value: XML): Void

Specified by:
fromXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Overrides:
C3DObject.fromXML (!UPDATE!) in class C3DObject (!UPDATE!)

Parameters:
value	XML which represents the serialized form of the object

Description:
Object state is set according to XML.

de.mirell.m3d
CLine.getStyle

public function getStyle(): CStyle

de.mirell.m3d
CLine.setStyle

public function setStyle(Value: CStyle): Void

de.mirell.m3d
CLine.toXML

Serializes the object into XML

public function toXML(): XML

Specified by:
toXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Overrides:
C3DObject.toXML (!UPDATE!) in class C3DObject (!UPDATE!)

Returns:
The XML which contains the serialized representation of the object

Description:
The current object state will be serialized. The fromXML (!UPDATE!) method must be able to unserialize the XML.

de.mirell.m3d
CModel

class CModel
extends C3DObject
implements IDrawable (!UPDATE!), IRotateable (!UPDATE!), IXMLSerializable (!UPDATE!)

 |
  +--de.mirell.m3d.C3DObject
     |
     +--de.mirell.m3d.CModel

All implemented Interfaces:
IDrawable (!UPDATE!), IRotateable (!UPDATE!), IXMLSerializable (!UPDATE!)

All known Subclasses:
CCube (!UPDATE!), CPyramid (!UPDATE!), CSphere (!UPDATE!), CSpriteSphere (!UPDATE!)

Author:
Mirell Development

Version:
N/A

Field Summary
Field	Description	
CModel.onFileLoaded		

Property Summary
Property	Description	
CModel.onPress	Set the event method associated with this standard movieclip event	
CModel.onRollOut	Set the event method associated with this standard movieclip event	
CModel.onRollOver	Set the event method associated with this standard movieclip event		

Constructor
Constructor	Description	
CModel()		

Method Summary
Method	Description	
CModel.addObject()		
CModel.createMovieClip()	Trigger creation of the object's movieclip	
CModel.destroyMovieClip()	Trigger removal of the object's movieclip	
CModel.draw()	Draws the object	
CModel.fromXML()	Unserializes XML into the object	
CModel.getFaces()		
CModel.getName()		
CModel.getStyle()		
CModel.hasFaces()	Determine if object has faces	
CModel.loadFromFile()		
CModel.removeObject()		
CModel.removeObjects()		
CModel.rotate()	Rotate the object using a quaternion	
CModel.setName()		
CModel.setStyle()		
CModel.toXML()	Serializes the object into XML	

The documentation was generated from the following file:
CModel.as, Last Modified: 03.09.2004 03:35:12

de.mirell.m3d
CModel.CModel

public function CModel()

de.mirell.m3d
CModel.onFileLoaded

public var onFileLoaded: Function

de.mirell.m3d
CModel.addObject

public function addObject(Item: C3DObject): C3DObject

de.mirell.m3d
CModel.createMovieClip

Trigger creation of the object's movieclip

public function createMovieClip(): Void

Overrides:
C3DObject.createMovieClip (!UPDATE!) in class C3DObject (!UPDATE!)

Description:
If a Display was set a new movieclip is created and the target for all drawing operations of the object

de.mirell.m3d
CModel.destroyMovieClip

Trigger removal of the object's movieclip

public function destroyMovieClip(): Void

Overrides:
C3DObject.destroyMovieClip (!UPDATE!) in class C3DObject (!UPDATE!)

Description:
Remove the movie created from a prior call to createMovieClip (!UPDATE!)

de.mirell.m3d
CModel.draw

Draws the object

public function draw(): Void

Specified by:
draw (!UPDATE!) in interface IDrawable (!UPDATE!)

Overrides:
C3DObject.draw (!UPDATE!) in class C3DObject (!UPDATE!)

Description:
This method is called from the renderer (!UPDATE!) when the object needs to draw itself.

de.mirell.m3d
CModel.fromXML

Unserializes XML into the object

public function fromXML(value: XML): Void

Specified by:
fromXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Overrides:
C3DObject.fromXML (!UPDATE!) in class C3DObject (!UPDATE!)

Parameters:
value	XML which represents the serialized form of the object

Description:
Object state is set according to XML.

de.mirell.m3d
CModel.getFaces

public function getFaces(): Array

de.mirell.m3d
CModel.getName

public function getName(): String

de.mirell.m3d
CModel.getStyle

public function getStyle(): CStyle

de.mirell.m3d
CModel.hasFaces

Determine if object has faces

public function hasFaces(): Boolean

Overrides:
C3DObject.hasFaces (!UPDATE!) in class C3DObject (!UPDATE!)

Returns:
Returns True if the object has faces

de.mirell.m3d
CModel.loadFromFile

public function loadFromFile(Filename: String): Void

de.mirell.m3d
CModel.onPress

Set the event method associated with this standard movieclip event

public onPress: Function (read, write)

Overrides:
C3DObject.onPress (!UPDATE!) in class C3DObject (!UPDATE!)

de.mirell.m3d
CModel.onRollOut

Set the event method associated with this standard movieclip event

public onRollOut: Function (read, write)

Overrides:
C3DObject.onRollOut (!UPDATE!) in class C3DObject (!UPDATE!)

de.mirell.m3d
CModel.onRollOver

Set the event method associated with this standard movieclip event	

public onRollOver: Function (read, write)

Overrides:
C3DObject.onRollOver (!UPDATE!) in class C3DObject (!UPDATE!)

de.mirell.m3d
CModel.removeObject

public function removeObject(Item: C3DObject): Void

de.mirell.m3d
CModel.removeObjects

public function removeObjects(): Void

de.mirell.m3d
CModel.rotate

Rotate the object using a quaternion

public function rotate(Value: CQuaternion): Void

Specified by:
rotate (!UPDATE!) in interface IRotateable (!UPDATE!)

Overrides:
C3DObject.rotate (!UPDATE!) in class C3DObject (!UPDATE!)

Parameters:
Value	The amount to rotate the object set using a CQuaternion

de.mirell.m3d
CModel.setName

public function setName(Value: String): Void

de.mirell.m3d
CModel.setStyle

public function setStyle(Value: CStyle): Void

de.mirell.m3d
CModel.toXML

Serializes the object into XML

public function toXML(): XML

Specified by:
toXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Overrides:
C3DObject.toXML (!UPDATE!) in class C3DObject (!UPDATE!)

Returns:
The XML which contains the serialized representation of the object

Description:
The current object state will be serialized. The fromXML (!UPDATE!) method must be able to unserialize the XML.

de.mirell.m3d
CPointLight

class CPointLight
extends CLight
implements IXMLSerializable (!UPDATE!)

 |
  +--de.mirell.m3d.CLight
     |
     +--de.mirell.m3d.CPointLight

All implemented Interfaces:
IXMLSerializable (!UPDATE!)

Author:
Mirell Development

Version:
N/A

Constructor
Constructor	Description	
CPointLight()		

Method Summary
Method	Description	
CPointLight.fromXML()	Unserializes XML into the object	
CPointLight.toXML()	Serializes the object into XML	

The documentation was generated from the following file:
CPointLight.as, Last Modified: 02.01.2004 05:34:44

de.mirell.m3d
CPointLight.CPointLight

public function CPointLight(diffuse, ambient: CColor)

de.mirell.m3d
CPointLight.fromXML

Unserializes XML into the object

public function fromXML(value: XML): Void

Specified by:
fromXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Overrides:
CLight.fromXML (!UPDATE!) in class CLight (!UPDATE!)

Parameters:
value	XML which represents the serialized form of the object

Description:
Object state is set according to XML.

de.mirell.m3d
CPointLight.toXML

Serializes the object into XML

public function toXML(): XML

Specified by:
toXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Overrides:
CLight.toXML (!UPDATE!) in class CLight (!UPDATE!)

Returns:
The XML which contains the serialized representation of the object

Description:
The current object state will be serialized. The fromXML (!UPDATE!) method must be able to unserialize the XML.

de.mirell.m3d
CPointSprite

class CPointSprite
extends CSprite
implements IDrawable (!UPDATE!), IXMLSerializable (!UPDATE!)

 |
  +--de.mirell.m3d.C3DObject
     |
     +--de.mirell.m3d.CSprite
        |
        +--de.mirell.m3d.CPointSprite

All implemented Interfaces:
IDrawable (!UPDATE!), IXMLSerializable (!UPDATE!)

Author:
Mirell Development

Version:
1.0

Description:
Example:

See:
CModel (!UPDATE!)

Field Summary
Field	Description	
CPointSprite.onRender		

Constructor
Constructor	Description	
CPointSprite()		

Method Summary
Method	Description	
CPointSprite.draw()	Draws the object	
CPointSprite.fromXML()	Unserializes XML into the object	
CPointSprite.toXML()	Serializes the object into XML	

The documentation was generated from the following file:
CPointSprite.as, Last Modified: 04.08.2004 02:10:58

de.mirell.m3d
CPointSprite.CPointSprite

public function CPointSprite(position: CCoordinate)

de.mirell.m3d
CPointSprite.onRender

public var onRender: Function

de.mirell.m3d
CPointSprite.draw

Draws the object

public function draw(): Void

Specified by:
draw (!UPDATE!) in interface IDrawable (!UPDATE!)

Description:
This method is called from the renderer (!UPDATE!) when the object needs to draw itself.

de.mirell.m3d
CPointSprite.fromXML

Unserializes XML into the object

public function fromXML(value: XML): Void

Specified by:
fromXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Overrides:
CSprite.fromXML (!UPDATE!) in class CSprite (!UPDATE!)

Parameters:
value	XML which represents the serialized form of the object

Description:
Object state is set according to XML.

de.mirell.m3d
CPointSprite.toXML

Serializes the object into XML

public function toXML(): XML

Specified by:
toXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Overrides:
CSprite.toXML (!UPDATE!) in class CSprite (!UPDATE!)

Returns:
The XML which contains the serialized representation of the object

Description:
The current object state will be serialized. The fromXML (!UPDATE!) method must be able to unserialize the XML.

de.mirell.m3d
CPolygon

class CPolygon
extends C3DObject
implements IDrawable (!UPDATE!), IXMLSerializable (!UPDATE!)

 |
  +--de.mirell.m3d.C3DObject
     |
     +--de.mirell.m3d.CPolygon

All implemented Interfaces:
IDrawable (!UPDATE!), IXMLSerializable (!UPDATE!)

Author:
Mirell Development

Version:
N/A

Field Summary
Field	Description	
CPolygon.normal_translated		

Constructor
Constructor	Description	
CPolygon()		

Method Summary
Method	Description	
CPolygon.calculateNormal()		
CPolygon.createMovieClip()	Trigger creation of the object's movieclip	
CPolygon.destroyMovieClip()	Trigger removal of the object's movieclip	
CPolygon.draw()	Draws the object	
CPolygon.fromXML()	Unserializes XML into the object	
CPolygon.getCenter()		
CPolygon.getFaces()		
CPolygon.getNormal()		
CPolygon.getStyle()		
CPolygon.hasFaces()	Determine if object has faces	
CPolygon.isDoubleSided()		
CPolygon.rotate()	Rotate the object using a quaternion	
CPolygon.rotateNormal()		
CPolygon.setDoubleSides()		
CPolygon.setNormal()		
CPolygon.setStyle()		
CPolygon.toXML()	Serializes the object into XML	

The documentation was generated from the following file:
CPolygon.as, Last Modified: 07.01.2004 01:23:12

de.mirell.m3d
CPolygon.CPolygon

public function CPolygon()

de.mirell.m3d
CPolygon.normal_translated

public var normal_translated: CCoordinate

de.mirell.m3d
CPolygon.calculateNormal

public function calculateNormal(): Void

de.mirell.m3d
CPolygon.createMovieClip

Trigger creation of the object's movieclip

public function createMovieClip(): Void

Overrides:
C3DObject.createMovieClip (!UPDATE!) in class C3DObject (!UPDATE!)

Description:
If a Display was set a new movieclip is created and the target for all drawing operations of the object

de.mirell.m3d
CPolygon.destroyMovieClip

Trigger removal of the object's movieclip

public function destroyMovieClip(): Void

Overrides:
C3DObject.destroyMovieClip (!UPDATE!) in class C3DObject (!UPDATE!)

Description:
Remove the movie created from a prior call to createMovieClip (!UPDATE!)

de.mirell.m3d
CPolygon.draw

Draws the object

public function draw(): Void

Specified by:
draw (!UPDATE!) in interface IDrawable (!UPDATE!)

Overrides:
C3DObject.draw (!UPDATE!) in class C3DObject (!UPDATE!)

Description:
This method is called from the renderer (!UPDATE!) when the object needs to draw itself.

de.mirell.m3d
CPolygon.fromXML

Unserializes XML into the object

public function fromXML(value: XML): Void

Specified by:
fromXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Overrides:
C3DObject.fromXML (!UPDATE!) in class C3DObject (!UPDATE!)

Parameters:
value	XML which represents the serialized form of the object

Description:
Object state is set according to XML.

de.mirell.m3d
CPolygon.getCenter

public function getCenter(): CCoordinate

de.mirell.m3d
CPolygon.getFaces

public function getFaces(): Array

de.mirell.m3d
CPolygon.getNormal

public function getNormal(): CCoordinate

de.mirell.m3d
CPolygon.getStyle

public function getStyle(): CStyle

de.mirell.m3d
CPolygon.hasFaces

Determine if object has faces

public function hasFaces(): Boolean

Overrides:
C3DObject.hasFaces (!UPDATE!) in class C3DObject (!UPDATE!)

Returns:
Returns True if the object has faces

de.mirell.m3d
CPolygon.isDoubleSided

public function isDoubleSided(): Boolean

de.mirell.m3d
CPolygon.rotate

Rotate the object using a quaternion

public function rotate(Value: CQuaternion): Void

Overrides:
C3DObject.rotate (!UPDATE!) in class C3DObject (!UPDATE!)

Parameters:
Value	The amount to rotate the object set using a CQuaternion

de.mirell.m3d
CPolygon.rotateNormal

public function rotateNormal(Value: CQuaternion): Void

de.mirell.m3d
CPolygon.setDoubleSides

public function setDoubleSides(Value: Boolean): Void

de.mirell.m3d
CPolygon.setNormal

public function setNormal(Value: CCoordinate): Void

de.mirell.m3d
CPolygon.setStyle

public function setStyle(Value: CStyle): Void

de.mirell.m3d
CPolygon.toXML

Serializes the object into XML

public function toXML(): XML

Specified by:
toXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Overrides:
C3DObject.toXML (!UPDATE!) in class C3DObject (!UPDATE!)

Returns:
The XML which contains the serialized representation of the object

Description:
The current object state will be serialized. The fromXML (!UPDATE!) method must be able to unserialize the XML.

de.mirell.m3d
CRendererFactory

dynamic class CRendererFactory
extends Object

 |
  +--de.mirell.m3d.CRendererFactory

Field Summary
Field	Description	
CRendererFactory.HIGH		
CRendererFactory.LOW		
CRendererFactory.LOWEST		
CRendererFactory.MEDIUM		

Method Summary
Method	Description	
CRendererFactory.getRenderer()		

The documentation was generated from the following file:
CRendererFactory.as, Last Modified: 03.09.2004 04:15:12

de.mirell.m3d
CRendererFactory.HIGH

public static var HIGH: Number

de.mirell.m3d
CRendererFactory.LOW

public static var LOW: Number

de.mirell.m3d
CRendererFactory.LOWEST

public static var LOWEST: Number

de.mirell.m3d
CRendererFactory.MEDIUM

public static var MEDIUM: Number

de.mirell.m3d
CRendererFactory.getRenderer

public function getRenderer(Mode: Number): Function

de.mirell.m3d
CScene

Definition of a 3D scene with lights, styles, objects and used cameras

dynamic class CScene
extends Object
implements IXMLSerializable (!UPDATE!)

 |
  +--de.mirell.m3d.CScene

All implemented Interfaces:
IXMLSerializable (!UPDATE!)

Author:
Mirell Development

Version:
1.0.0

Field Summary
Field	Description	
CScene.onFileLoaded		
CScene.onRender		

Constructor
Constructor	Description	
CScene()		

Method Summary
Method	Description	
CScene.addCamera()		
CScene.addLight()		
CScene.addObject()		
CScene.addStyle()		
CScene.fromXML()	Unserializes XML into the object	
CScene.getActiveCamera()		
CScene.getCameras()		
CScene.getLights()		
CScene.getObject()		
CScene.getObjectByName()		
CScene.getObjects()		
CScene.loadFromFile()	Loads a scene from the specified filename.	
CScene.removeCamera()		
CScene.removeLight()		
CScene.removeObject()		
CScene.removeStyle()		
CScene.setActiveCamera()		
CScene.setViewport()	Sets the movie to render this scene on.	
CScene.setViewportPosition()	Sets the position of the movie the scene is renderen on.	
CScene.setViewportSize()	Sets the boundries of the viewport.	
CScene.toXML()	Serializes the object into XML	

The documentation was generated from the following file:
CScene.as, Last Modified: 29.11.2004 01:39:38

de.mirell.m3d
CScene.CScene

public function CScene()

de.mirell.m3d
CScene.onFileLoaded

public var onFileLoaded: Function

de.mirell.m3d
CScene.onRender

public var onRender: Function

de.mirell.m3d
CScene.addCamera

public function addCamera(Cam: CCamera): CCamera

de.mirell.m3d
CScene.addLight

public function addLight(Light: CLight): CLight

de.mirell.m3d
CScene.addObject

public function addObject(A3DObject: C3DObject): C3DObject

de.mirell.m3d
CScene.addStyle

public function addStyle(Style: CStyle): CStyle

de.mirell.m3d
CScene.fromXML

Unserializes XML into the object

public function fromXML(value: XML): Void

Specified by:
fromXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Parameters:
value	XML which represents the serialized form of the object

Description:
Object state is set according to XML.

de.mirell.m3d
CScene.getActiveCamera

public function getActiveCamera(): CCamera

de.mirell.m3d
CScene.getCameras

public function getCameras(): Array

de.mirell.m3d
CScene.getLights

public function getLights(): Array

de.mirell.m3d
CScene.getObject

public function getObject(index: Number): C3DObject

de.mirell.m3d
CScene.getObjectByName

public function getObjectByName(Value: String): C3DObject

de.mirell.m3d
CScene.getObjects

public function getObjects(): Array

de.mirell.m3d
CScene.loadFromFile

Loads a scene from the specified filename.

public function loadFromFile(Filename: String): Void

Parameters:
Filename	A valid XML file containing serialized XML data

Description:
Loads a scene from a XML file containing a CScene object in serialized-XML form equal to the output of toXML (!UPDATE!)

de.mirell.m3d
CScene.removeCamera

public function removeCamera(Cam: CCamera): Void

de.mirell.m3d
CScene.removeLight

public function removeLight(Light: CLight): Void

de.mirell.m3d
CScene.removeObject

public function removeObject(A3DObject: C3DObject)

de.mirell.m3d
CScene.removeStyle

public function removeStyle(Style: CStyle): Void

de.mirell.m3d
CScene.setActiveCamera

public function setActiveCamera(Cam: CCamera): Void

de.mirell.m3d
CScene.setViewport

Sets the movie to render this scene on.

public function setViewport(Movie: MovieClip): Void

Parameters:
Movie	The MovieClip this Scene will be drawn on

Description:
A Viewport is a MovieClip which is used to render the graphical output on.

de.mirell.m3d
CScene.setViewportPosition

Sets the position of the movie the scene is renderen on.

public function setViewportPosition(x: Number, y: Number): Void

Parameters:
x	Horizontal position relative to parent movie of the viewport movie.

y	Vertical position relative to parent movie of the viewport movie.

Description:
Moves the movie set using setViewport (!UPDATE!) to the designated x and y coordinates. In order to have correct rendering, do not position the viewport movieclip using the _x and _x properties!

de.mirell.m3d
CScene.setViewportSize

Sets the boundries of the viewport.

public function setViewportSize(width: Number, height: Number)

Parameters:
width	New width of the viewport

height	New height of the viewport

de.mirell.m3d
CScene.toXML

Serializes the object into XML

public function toXML(): XML

Specified by:
toXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Returns:
The XML which contains the serialized representation of the object

Description:
The current object state will be serialized. The fromXML (!UPDATE!) method must be able to unserialize the XML.

de.mirell.m3d
CSprite

class CSprite
extends C3DObject
implements IXMLSerializable (!UPDATE!)

 |
  +--de.mirell.m3d.C3DObject
     |
     +--de.mirell.m3d.CSprite

All implemented Interfaces:
IXMLSerializable (!UPDATE!)

All known Subclasses:
CPointSprite (!UPDATE!)

Author:
Mirell Development

Version:
N/A

Field Summary
Field	Description	
CSprite.onRender		

Constructor
Constructor	Description	
CSprite()		

Method Summary
Method	Description	
CSprite.createMovieClip()	Trigger creation of the object's movieclip	
CSprite.destroyMovieClip()	Trigger removal of the object's movieclip	
CSprite.fromXML()	Unserializes XML into the object	
CSprite.getSource()		
CSprite.getStyle()		
CSprite.setSource()		
CSprite.setStyle()		
CSprite.toXML()	Serializes the object into XML	

The documentation was generated from the following file:
CSprite.as, Last Modified: 31.07.2004 04:45:00

de.mirell.m3d
CSprite.CSprite

public function CSprite()

de.mirell.m3d
CSprite.onRender

public var onRender: Function

de.mirell.m3d
CSprite.createMovieClip

Trigger creation of the object's movieclip

public function createMovieClip(): Void

Overrides:
C3DObject.createMovieClip (!UPDATE!) in class C3DObject (!UPDATE!)

Description:
If a Display was set a new movieclip is created and the target for all drawing operations of the object

de.mirell.m3d
CSprite.destroyMovieClip

Trigger removal of the object's movieclip

public function destroyMovieClip(): Void

Overrides:
C3DObject.destroyMovieClip (!UPDATE!) in class C3DObject (!UPDATE!)

Description:
Remove the movie created from a prior call to createMovieClip (!UPDATE!)

de.mirell.m3d
CSprite.fromXML

Unserializes XML into the object

public function fromXML(value: XML): Void

Specified by:
fromXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Overrides:
C3DObject.fromXML (!UPDATE!) in class C3DObject (!UPDATE!)

Parameters:
value	XML which represents the serialized form of the object

Description:
Object state is set according to XML.

de.mirell.m3d
CSprite.getSource

public function getSource(): String

de.mirell.m3d
CSprite.getStyle

public function getStyle(): CStyle

de.mirell.m3d
CSprite.setSource

public function setSource(Value: String): Void

de.mirell.m3d
CSprite.setStyle

public function setStyle(Value: CStyle): Void

de.mirell.m3d
CSprite.toXML

Serializes the object into XML

public function toXML(): XML

Specified by:
toXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Overrides:
C3DObject.toXML (!UPDATE!) in class C3DObject (!UPDATE!)

Returns:
The XML which contains the serialized representation of the object

Description:
The current object state will be serialized. The fromXML (!UPDATE!) method must be able to unserialize the XML.

de.mirell.m3d
CStyle

class CStyle
extends Object
implements IXMLSerializable (!UPDATE!)

 |
  +--de.mirell.m3d.CStyle

All implemented Interfaces:
IXMLSerializable (!UPDATE!)

Author:
Mirell Development

Version:
N/A

Constructor
Constructor	Description	
CStyle()		

Method Summary
Method	Description	
CStyle.clone()		
CStyle.fromXML()	Unserializes XML into the object	
CStyle.getAlpha()		
CStyle.getColor()		
CStyle.getDefaultStyle()		
CStyle.getLineAlpha()		
CStyle.getLineColor()		
CStyle.getLineThickness()		
CStyle.getName()		
CStyle.getTexture()		
CStyle.getTextureHeight()		
CStyle.getTextureWidth()		
CStyle.hasLine()		
CStyle.hasTexture()		
CStyle.merge()		
CStyle.setAlpha()		
CStyle.setColor()		
CStyle.setLineAlpha()		
CStyle.setLineColor()		
CStyle.setLineThickness()		
CStyle.setName()		
CStyle.setTexture()		
CStyle.setTextureHeight()		
CStyle.setTextureWidth()		
CStyle.toString()	Converts the specified object to a string and returns it.	
CStyle.toXML()	Serializes the object into XML	

The documentation was generated from the following file:
CStyle.as, Last Modified: 03.09.2004 21:31:48

de.mirell.m3d
CStyle.CStyle

public function CStyle()

de.mirell.m3d
CStyle.clone

public function clone(): CStyle

de.mirell.m3d
CStyle.fromXML

Unserializes XML into the object

public function fromXML(value: XML): Void

Specified by:
fromXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Parameters:
value	XML which represents the serialized form of the object

Description:
Object state is set according to XML.

de.mirell.m3d
CStyle.getAlpha

public function getAlpha(): Number

de.mirell.m3d
CStyle.getColor

public function getColor(): CColor

de.mirell.m3d
CStyle.getDefaultStyle

public static function getDefaultStyle(): CStyle

de.mirell.m3d
CStyle.getLineAlpha

public function getLineAlpha(): Number

de.mirell.m3d
CStyle.getLineColor

public function getLineColor(): CColor

de.mirell.m3d
CStyle.getLineThickness

public function getLineThickness(): Number

de.mirell.m3d
CStyle.getName

public function getName(): String

de.mirell.m3d
CStyle.getTexture

public function getTexture(): CTexture

de.mirell.m3d
CStyle.getTextureHeight

public function getTextureHeight(): Number

de.mirell.m3d
CStyle.getTextureWidth

public function getTextureWidth(): Number

de.mirell.m3d
CStyle.hasLine

public function hasLine(): Boolean

de.mirell.m3d
CStyle.hasTexture

public function hasTexture(): Boolean

de.mirell.m3d
CStyle.merge

public function merge(Value: CStyle): CStyle

de.mirell.m3d
CStyle.setAlpha

public function setAlpha(Value: Number): CStyle

de.mirell.m3d
CStyle.setColor

public function setColor(Value: CColor): CStyle

de.mirell.m3d
CStyle.setLineAlpha

public function setLineAlpha(Value: Number): CStyle

de.mirell.m3d
CStyle.setLineColor

public function setLineColor(Value: CColor): CStyle

de.mirell.m3d
CStyle.setLineThickness

public function setLineThickness(Value: Number): CStyle

de.mirell.m3d
CStyle.setName

public function setName(Value: String): Void

de.mirell.m3d
CStyle.setTexture

public function setTexture(Value: CTexture): CStyle

de.mirell.m3d
CStyle.setTextureHeight

public function setTextureHeight(h: Number): CTexture

de.mirell.m3d
CStyle.setTextureWidth

public function setTextureWidth(w: Number): CTexture

de.mirell.m3d
CStyle.toString

Converts the specified object to a string and returns it.

public function toString(): String

Overrides:
Object.toString in class Object

Returns:
A string.

de.mirell.m3d
CStyle.toXML

Serializes the object into XML

public function toXML(): XML

Specified by:
toXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Returns:
The XML which contains the serialized representation of the object

Description:
The current object state will be serialized. The fromXML (!UPDATE!) method must be able to unserialize the XML.

de.mirell.m3d
CTexture

class CTexture
extends Object
implements IXMLSerializable (!UPDATE!)

 |
  +--de.mirell.m3d.CTexture

All implemented Interfaces:
IXMLSerializable (!UPDATE!)

Author:
Mirell Development

Version:
1.0

Description:
Example:

Field Summary
Field	Description	
CTexture.isLoaded		

Constructor
Constructor	Description	
CTexture()		

Method Summary
Method	Description	
CTexture.clone()		
CTexture.fromXML()	Unserializes XML into the object	
CTexture.getSource()		
CTexture.setSource()		
CTexture.toXML()	Serializes the object into XML	

The documentation was generated from the following file:
CTexture.as, Last Modified: 21.08.2004 13:21:44

de.mirell.m3d
CTexture.CTexture

public function CTexture(source: String)

de.mirell.m3d
CTexture.isLoaded

public var isLoaded: Boolean

de.mirell.m3d
CTexture.clone

public function clone(): CTexture

de.mirell.m3d
CTexture.fromXML

Unserializes XML into the object

public function fromXML(value: XML): Void

Specified by:
fromXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Parameters:
value	XML which represents the serialized form of the object

Description:
Object state is set according to XML.

de.mirell.m3d
CTexture.getSource

public function getSource(): String

de.mirell.m3d
CTexture.setSource

public function setSource(Value: String): Void

de.mirell.m3d
CTexture.toXML

Serializes the object into XML

public function toXML(): XML

Specified by:
toXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Returns:
The XML which contains the serialized representation of the object

Description:
The current object state will be serialized. The fromXML (!UPDATE!) method must be able to unserialize the XML.

de.mirell.m3d
CVertex

Standard Vertex representation.

class CVertex
extends Object
implements IPositionable (!UPDATE!), IScaleable (!UPDATE!), IXMLSerializable (!UPDATE!)

 |
  +--de.mirell.m3d.CVertex

All implemented Interfaces:
IPositionable (!UPDATE!), IScaleable (!UPDATE!), IXMLSerializable (!UPDATE!)

All known Subclasses:
CControlVertex (!UPDATE!)

Author:
Mirell Development

Version:
1.0.0

Description:
The CVertex class provides methods to work with vertices.  It holds the Vertex's position in Object, World, View and Screenspace.

Field Summary
Field	Description	
CVertex.onRotated		

Constructor
Constructor	Description	
CVertex()	Create a new CVertex using the supplied position as a base	

Method Summary
Method	Description	
CVertex.fromXML()	Unserializes XML into the object	
CVertex.getObjectSpaceCoordinates()		
CVertex.getPosition()	Retrieves the current center point of the object	
CVertex.getScreenCoordinates()		
CVertex.getViewSpaceCoordinates()		
CVertex.getWorldSpaceCoordinates()		
CVertex.isChanged()		
CVertex.rotate()		
CVertex.scale()	Scale the object in space	
CVertex.setObjectSpaceCoordinates()		
CVertex.setPosition()	Sets initial position of the vertex	
CVertex.setScreenCoordinates()		
CVertex.setViewSpaceCoordinates()		
CVertex.setWorldSpaceCoordinates()		
CVertex.toString()	Converts the specified object to a string and returns it.	
CVertex.toXML()	Serializes the object into XML	
CVertex.translate()	Translate the position of the object	

The documentation was generated from the following file:
CVertex.as, Last Modified: 03.09.2004 03:41:40

de.mirell.m3d
CVertex.CVertex

Create a new CVertex using the supplied position as a base

public function CVertex(Pos: CCoordinate)

Parameters:
Pos	Initial position of the Vertex.

de.mirell.m3d
CVertex.onRotated

public var onRotated: Function

de.mirell.m3d
CVertex.fromXML

Unserializes XML into the object

public function fromXML(value: XML): Void

Specified by:
fromXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Parameters:
value	XML which represents the serialized form of the object

Description:
Object state is set according to XML.

de.mirell.m3d
CVertex.getObjectSpaceCoordinates

public function getObjectSpaceCoordinates(): CCoordinate

de.mirell.m3d
CVertex.getPosition

Retrieves the current center point of the object

public function getPosition(): CCoordinate

Specified by:
getPosition (!UPDATE!) in interface IPositionable (!UPDATE!)

Returns:
The center of the object

de.mirell.m3d
CVertex.getScreenCoordinates

public function getScreenCoordinates(): CCoordinate

de.mirell.m3d
CVertex.getViewSpaceCoordinates

public function getViewSpaceCoordinates(): CCoordinate

de.mirell.m3d
CVertex.getWorldSpaceCoordinates

public function getWorldSpaceCoordinates(): CCoordinate

de.mirell.m3d
CVertex.isChanged

public function isChanged(): Boolean

de.mirell.m3d
CVertex.rotate

public function rotate(Value: CQuaternion): Void

de.mirell.m3d
CVertex.scale

Scale the object in space

public function scale(Value: CCoordinate): Void

Specified by:
scale (!UPDATE!) in interface IScaleable (!UPDATE!)

Parameters:
Value	The amount to scale the object's x,y and z values using a CCoordinate (!UPDATE!)

de.mirell.m3d
CVertex.setObjectSpaceCoordinates

public function setObjectSpaceCoordinates(Value: CCoordinate): Void

de.mirell.m3d
CVertex.setPosition

Sets initial position of the vertex

public function setPosition(Value: CCoordinate): Void

Specified by:
setPosition (!UPDATE!) in interface IPositionable (!UPDATE!)

Parameters:
Value	The new position. This also affects the ObjectSpaceCoordinates.

de.mirell.m3d
CVertex.setScreenCoordinates

public function setScreenCoordinates(Value: CCoordinate): Void

de.mirell.m3d
CVertex.setViewSpaceCoordinates

public function setViewSpaceCoordinates(Value: CCoordinate): Void

de.mirell.m3d
CVertex.setWorldSpaceCoordinates

public function setWorldSpaceCoordinates(Value: CCoordinate): Void

de.mirell.m3d
CVertex.toString

Converts the specified object to a string and returns it.

public function toString(): String

Overrides:
Object.toString in class Object

Returns:
A string.

de.mirell.m3d
CVertex.toXML

Serializes the object into XML

public function toXML(): XML

Specified by:
toXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Returns:
The XML which contains the serialized representation of the object

Description:
The current object state will be serialized. The fromXML (!UPDATE!) method must be able to unserialize the XML.

de.mirell.m3d
CVertex.translate

Translate the position of the object

public function translate(Value: CCoordinate): Void

Specified by:
translate (!UPDATE!) in interface ITranslateable (!UPDATE!)

Parameters:
Value	The amount to translate the object's position's x,y and z values using a CCoordinate (!UPDATE!)

de.mirell.m3d
IDrawable

interface IDrawable

de.mirell.m3d.IDrawable

All Known Implementing Classes:
C3DObject (!UPDATE!), CCurve (!UPDATE!), CLine (!UPDATE!), CModel (!UPDATE!), CPointSprite (!UPDATE!), CPolygon (!UPDATE!)

Method Summary
Method	Description	
IDrawable.draw()	Draws the object	

The documentation was generated from the following file:
IDrawable.as, Last Modified: 20.08.2004 20:52:42

de.mirell.m3d
IDrawable.draw

Draws the object

public function draw(): Void

Description:
This method is called from the renderer (!UPDATE!) when the object needs to draw itself.

de.mirell.m3d
IMoveable

interface IMoveable

de.mirell.m3d.IMoveable

Method Summary
Method	Description	
IMoveable.moveBy()		

The documentation was generated from the following file:
IMoveable.as, Last Modified: 16.03.2004 18:27:32

de.mirell.m3d
IMoveable.moveBy

public function moveBy(Value: Number): Void

de.mirell.m3d
IPositionable

interface IPositionable
extends ITranslateable

de.mirell.m3d.ITranslateable
  |
  +--de.mirell.m3d.IPositionable

All Known Implementing Classes:
C3DObject (!UPDATE!), CCamera (!UPDATE!), CLight (!UPDATE!), CVertex (!UPDATE!)

Method Summary
Method	Description	
IPositionable.getPosition()	Retrieves the current center point of the object	
IPositionable.setPosition()	Sets the center point of the object	

The documentation was generated from the following file:
IPositionable.as, Last Modified: 20.08.2004 22:48:48

de.mirell.m3d
IPositionable.getPosition

Retrieves the current center point of the object

public function getPosition(): CCoordinate

Returns:
The center of the object

de.mirell.m3d
IPositionable.setPosition

Sets the center point of the object

public function setPosition(Value: CCoordinate): Void

Parameters:
Value	The new center of the object

Example:

// Set the object center position to 10,20,0.
my3DObject.setPosition( new CCoordinate(10,20,0) );

de.mirell.m3d
IRotateable

interface IRotateable

de.mirell.m3d.IRotateable

All Known Implementing Classes:
C3DObject (!UPDATE!), CCamera (!UPDATE!), CModel (!UPDATE!)

Method Summary
Method	Description	
IRotateable.getRotation()	Retrieves the current rotation of the object	
IRotateable.rotate()	Rotate the object using a quaternion	
IRotateable.setRotation()	Set the current rotation of the object	

The documentation was generated from the following file:
IRotateable.as, Last Modified: 21.08.2004 12:40:54

de.mirell.m3d
IRotateable.getRotation

Retrieves the current rotation of the object

public function getRotation(): CQuaternion

Returns:
The rotation of the object

de.mirell.m3d
IRotateable.rotate

Rotate the object using a quaternion

public function rotate(Value: CQuaternion): Void

Parameters:
Value	The amount to rotate the object set using a de.mirell.math.CQuaternion (!UPDATE!)

Example:
My3DObject.rotate( new CQuaternion().fromEulerAngles(90, 0, 0) );

de.mirell.m3d
IRotateable.setRotation

Set the current rotation of the object

public function setRotation(Value: CQuaternion): Void

Parameters:
Value	The rotation of the object specfied by a de.mirell.math.CQuaternion (!UPDATE!)

Example:
My3DObject.setRotation( new CQuaternion().fromEulerAngles(90, 0, 0) );

See:
rotate (!UPDATE!)

de.mirell.m3d
IScaleable

interface IScaleable

de.mirell.m3d.IScaleable

All Known Implementing Classes:
C3DObject (!UPDATE!), CVertex (!UPDATE!)

Method Summary
Method	Description	
IScaleable.scale()	Scale the object in space	

The documentation was generated from the following file:
IScaleable.as, Last Modified: 20.08.2004 21:27:26

de.mirell.m3d
IScaleable.scale

Scale the object in space

public function scale(Value: CCoordinate): Void

Parameters:
Value	The amount to scale the object's x,y and z values using a CCoordinate (!UPDATE!)

Example:
My3DObject.scale( new CCoordinate(10,50,40) );

de.mirell.m3d
ITranslateable

interface ITranslateable

de.mirell.m3d.ITranslateable

All known Subinterfaces:
IPositionable (!UPDATE!)

Method Summary
Method	Description	
ITranslateable.translate()	Translate the position of the object	

The documentation was generated from the following file:
ITranslateable.as, Last Modified: 20.08.2004 22:41:56

de.mirell.m3d
ITranslateable.translate

Translate the position of the object

public function translate(Value: CCoordinate): Void

Parameters:
Value	The amount to translate the object's position's x,y and z values using a CCoordinate (!UPDATE!)

Example:
My3DObject.translate( new CCoordinate(10,50,40) );

de.mirell.m3d.primitives

Class Summary
CCube	!UPDATE!
CPyramid	!UPDATE!
CSphere	!UPDATE!
CSpriteSphere	!UPDATE!

de.mirell.m3d.primitives
CCube

class CCube
extends CModel

 |
  +--de.mirell.m3d.C3DObject
     |
     +--de.mirell.m3d.CModel
        |
        +--de.mirell.m3d.primitives.CCube

Author:
Mirell Development

Version:
1.0

Description:
Example:

Constructor
Constructor	Description	
CCube()		

Method Summary
Method	Description	
CCube.getSize()		
CCube.setSize()		

The documentation was generated from the following file:
CCube.as, Last Modified: 26.01.2004 21:43:22

de.mirell.m3d.primitives
CCube.CCube

public function CCube(cubesize: Number)

de.mirell.m3d.primitives
CCube.getSize

public function getSize(): Number

de.mirell.m3d.primitives
CCube.setSize

public function setSize(Value: Number): Void

de.mirell.m3d.primitives
CPyramid

class CPyramid
extends CModel

 |
  +--de.mirell.m3d.C3DObject
     |
     +--de.mirell.m3d.CModel
        |
        +--de.mirell.m3d.primitives.CPyramid

Author:
Mirell Development

Version:
N/A

See:
de.mirell.m3d.CModel (!UPDATE!)

Constructor
Constructor	Description	
CPyramid()		

The documentation was generated from the following file:
CPyramid.as, Last Modified: 18.12.2003 00:07:06

de.mirell.m3d.primitives
CPyramid.CPyramid

public function CPyramid(vx, vy, h: Number)

de.mirell.m3d.primitives
CSphere

class CSphere
extends CModel

 |
  +--de.mirell.m3d.C3DObject
     |
     +--de.mirell.m3d.CModel
        |
        +--de.mirell.m3d.primitives.CSphere

Author:
Mirell Development

Version:
1.0

Description:
Example:

Constructor
Constructor	Description	
CSphere()		

The documentation was generated from the following file:
CSphere.as, Last Modified: 26.01.2004 21:42:12

de.mirell.m3d.primitives
CSphere.CSphere

public function CSphere(radius: Number, segments: Number, triangle: Boolean)

de.mirell.m3d.primitives
CSpriteSphere

class CSpriteSphere
extends CModel

 |
  +--de.mirell.m3d.C3DObject
     |
     +--de.mirell.m3d.CModel
        |
        +--de.mirell.m3d.primitives.CSpriteSphere

Author:
Mirell Development

Version:
N/A

See:
de.mirell.m3d.CSprite (!UPDATE!)

Constructor
Constructor	Description	
CSpriteSphere()		

Method Summary
Method	Description	
CSpriteSphere.getSize()		

The documentation was generated from the following file:
CSpriteSphere.as, Last Modified: 23.12.2003 21:40:18

de.mirell.m3d.primitives
CSpriteSphere.CSpriteSphere

public function CSpriteSphere(size: Number)

de.mirell.m3d.primitives
CSpriteSphere.getSize

public function getSize(): Number

de.mirell.math

Class Summary
CQuaternion	!UPDATE!

de.mirell.math
CQuaternion

class CQuaternion
extends Object
implements IXMLSerializable (!UPDATE!)

 |
  +--de.mirell.math.CQuaternion

All implemented Interfaces:
IXMLSerializable (!UPDATE!)

Property Summary
Property	Description	
CQuaternion.length		

Constructor
Constructor	Description	
CQuaternion()		

Method Summary
Method	Description	
CQuaternion.clone()		
CQuaternion.createMatrix()		
CQuaternion.fromAxisAngle()		
CQuaternion.fromEulerAngles()		
CQuaternion.fromPoint()		
CQuaternion.fromXML()	Unserializes XML into the object	
CQuaternion.getAxisAngle()		
CQuaternion.getEulerAngles()		
CQuaternion.getW()		
CQuaternion.getX()		
CQuaternion.getY()		
CQuaternion.getZ()		
CQuaternion.invert()		
CQuaternion.isIdentity()		
CQuaternion.multiply()		
CQuaternion.normalize()		
CQuaternion.scale()		
CQuaternion.toAxes()		
CQuaternion.toString()	Converts the specified object to a string and returns it.	
CQuaternion.toXML()	Serializes the object into XML	

The documentation was generated from the following file:
CQuaternion.as, Last Modified: 06.01.2004 03:47:54

de.mirell.math
CQuaternion.CQuaternion

function CQuaternion(a: Number, b: Number, c: Number, d: Number)

de.mirell.math
CQuaternion.clone

public function clone(): CQuaternion

de.mirell.math
CQuaternion.createMatrix

public function createMatrix(): Array

de.mirell.math
CQuaternion.fromAxisAngle

public function fromAxisAngle(a: Number, b: Number, c: Number, angle: Number): CQuaternion

de.mirell.math
CQuaternion.fromEulerAngles

public function fromEulerAngles(pitch: Number, yaw: Number, roll: Number): CQuaternion

de.mirell.math
CQuaternion.fromPoint

public function fromPoint(a: Number, b: Number, c: Number): CQuaternion

de.mirell.math
CQuaternion.fromXML

Unserializes XML into the object

public function fromXML(value: XML): Void

Specified by:
fromXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Parameters:
value	XML which represents the serialized form of the object

Description:
Object state is set according to XML.

de.mirell.math
CQuaternion.getAxisAngle

public function getAxisAngle(): Object

de.mirell.math
CQuaternion.getEulerAngles

public function getEulerAngles(): Object

de.mirell.math
CQuaternion.getW

public function getW(): Number

de.mirell.math
CQuaternion.getX

public function getX(): Number

de.mirell.math
CQuaternion.getY

public function getY(): Number

de.mirell.math
CQuaternion.getZ

public function getZ(): Number

de.mirell.math
CQuaternion.invert

public function invert(): CQuaternion

de.mirell.math
CQuaternion.isIdentity

public function isIdentity(): Boolean

de.mirell.math
CQuaternion.length

public length: Number (read-only)

de.mirell.math
CQuaternion.multiply

public function multiply(q: CQuaternion): CQuaternion

de.mirell.math
CQuaternion.normalize

public function normalize(): CQuaternion

de.mirell.math
CQuaternion.scale

public function scale(s: Number): CQuaternion

de.mirell.math
CQuaternion.toAxes

public function toAxes(): Array

de.mirell.math
CQuaternion.toString

Converts the specified object to a string and returns it.

public function toString(): String

Overrides:
Object.toString in class Object

Returns:
A string.

de.mirell.math
CQuaternion.toXML

Serializes the object into XML

public function toXML(): XML

Specified by:
toXML (!UPDATE!) in interface de.mirell.xml.serialization.IXMLSerializable (!UPDATE!)

Returns:
The XML which contains the serialized representation of the object

Description:
The current object state will be serialized. The fromXML (!UPDATE!) method must be able to unserialize the XML.

de.mirell.system

Interface Summary
ICloneable	!UPDATE!

de.mirell.system
ICloneable

interface ICloneable

de.mirell.system.ICloneable

Method Summary
Method	Description	
ICloneable.clone()	Makes an exact copy of the object	

The documentation was generated from the following file:
ICloneable.as, Last Modified: 21.08.2004 13:20:32

de.mirell.system
ICloneable.clone

Makes an exact copy of the object

public function clone(): Object

Returns:
The new object instance

de.mirell.xml.serialization

Interface Summary
IXMLSerializable	!UPDATE!

de.mirell.xml.serialization
IXMLSerializable

interface IXMLSerializable

de.mirell.xml.serialization.IXMLSerializable

All Known Implementing Classes:
C3DObject (!UPDATE!), CCamera (!UPDATE!), CColor (!UPDATE!), CControlVertex (!UPDATE!), CCoordinate (!UPDATE!), CLight (!UPDATE!), CLine (!UPDATE!), CModel (!UPDATE!), CPointLight (!UPDATE!), CPointSprite (!UPDATE!), CPolygon (!UPDATE!), CQuaternion (!UPDATE!), CScene (!UPDATE!), CSprite (!UPDATE!), CStyle (!UPDATE!), CTexture (!UPDATE!), CVertex (!UPDATE!)

Method Summary
Method	Description	
IXMLSerializable.fromXML()	Unserializes XML into the object	
IXMLSerializable.toXML()	Serializes the object into XML	

The documentation was generated from the following file:
IXMLSerializable.as, Last Modified: 20.08.2004 21:19:00

de.mirell.xml.serialization
IXMLSerializable.fromXML

Unserializes XML into the object

public function fromXML(value: XML): Void

Parameters:
value	XML which represents the serialized form of the object

Description:
Object state is set according to XML.

de.mirell.xml.serialization
IXMLSerializable.toXML

Serializes the object into XML

public function toXML(): XML

Returns:
The XML which contains the serialized representation of the object

Description:
The current object state will be serialized. The fromXML (!UPDATE!) method must be able to unserialize the XML.