Packagecom.rockonflash.papervision3d.materials.utils
Classpublic class BitmapMaterialTools

CreateBitmapMaterial allows you to embed bitmaps and pass the class here to get a Papervision3D BitmapMaterial in return for use on a model.



Public Methods
 MethodDefined by
  
createBitmapMaterial(bitmapClass:Class, oneSided:Boolean = true):BitmapMaterial
[static]
BitmapMaterialTools
Method detail
createBitmapMaterial()method
public static function createBitmapMaterial(bitmapClass:Class, oneSided:Boolean = true):BitmapMaterial

Parameters
bitmapClass:Class — Class object reference of the embedded or loaded bitmap object
 
oneSided:Boolean (default = true) — Indicates whether or not a material should be rendered on both sides

Returns
BitmapMaterial — BitmapMaterial that can be used on a model