Interface for materials that can be layered using
CompositeMaterial
or
BitmapMaterialContainer
.
public function renderFace(face:Face, containerRect:Rectangle, parentFaceVO:FaceVO):FaceVO
Renders a bitmapData surface object for the speficied face.
Parameters
| face:Face — The face object onto which the rendered sufrace is applied.
|
|
| containerRect:Rectangle — The rectangle object defining the bounds of the face in uv-space.
|
|
| parentFaceVO:FaceVO — The value object of the preceeding surface.
|
Returns
See also
away3d.materials.BitmapMaterailContainer
public function renderLayer(tri:DrawTriangle, layer:Sprite, level:int):void
Renders a material layer for the specified triangle.
Parameters
| tri:DrawTriangle — The drawtriangle used for render information.
|
|
| layer:Sprite — The parent layer into which the triangle is drawn.
|
|
| level:int — Defines the sprite level for the layer.
|
Click to go to the wiki page for ####WIKI####