Packageorg.ffilmation.engine.core
Classpublic class fMaterial

Every Plane (walls and floors) in the scene is assigned a Material. The fMaterial Class is used as an interface between the engine and the user-defined materials. The engine provides three material types:

"tile" an image will be used and tiled to fill the surface

"clip" a movieClip from your library will be used as material an scaled to fit each surface's dimensions

"procedural" you specify a class that will be used as material. This class needs to implement the fEngineMaterial interface

Each will end up in a different class being instantiated. See sample XMLs to see how materials are defined

This class is used internally only

See also

org.ffilmation.engine.interfaces.fEngineMaterial
org.ffilmation.engine.materials.fTileMaterial
org.ffilmation.engine.materials.fClipMaterial