|
v2.1 Useful: http://pixelwelders.com/blog/actionscript-3/2008/five3d-cheat-sheet-the-display-classes/
render()
viewDistance:Number - "camera's" distance from scene
ambientLightVector:Point3D, ambientLightVectorNormalized
ambientLightIntensity:Number
* No cameras.
visible x, y, z scaleX, scaleY, scaleZ rotationX, rotationY, rotationZ mouseX; mouseY; mouseXY singleSided:Boolean flatShaded:Boolean childrenSorted:Boolean graphics3D:Graphics3D getScene():Scene3D * many Sprite properties/methods don't apply and throw errors eg, width, rotation, scale9Grid, drag, etc. * Sprite3D creates an instance of Matrix3D and Graphics3D * Inherits all the event functionality of a Sprite (= good)
Almost same interface as Sprite3D
Like with Shape vs. Sprite, it's non-interactive and child-less.
Similar interface to Sprite3D. Can take in bitmaps or whatever. No 'plane perspective' or whatever. No Graphics3D instance, just traditional 'graphics'. Z-Rotation only.
Almost same interface as Sprite3D.
Useful.
Almost same interface as Sprite3D
"Emulates" DisplayObject.graphics(). Usage is similar: var sign:Sprite3D = new Sprite3D(); sign.graphics3D.beginFill(0x000000); sign.graphics3D.drawRoundRect(-150, -150, 300, 300, 40, 40); sign.graphics3D.endFill(); scene.addChild(sign); beginFill, endFill clear curveTo (quadratic Bezier, 2D) curveToSpace (3d) drawCircle, drawEllipse, drawRect, drawRoundRect lineStyle lineTo (2D), lineToSpace (3D) moveTo (2D), moveToSpace (3D) addMotif(a:array) - concats a set of draw 'commands' to the object
Utility class to create shapes. polygon, star, gradientHorizontalPlain, ...
text:String typography:Object size:Number color:uint letterSpacing:Number |
|
Page last modified on June 03, 2008, at 03:59 PM
|
|