Packageaway3dlite.materials
Classpublic class BitmapMaterial
InheritanceBitmapMaterial Inheritance Material Inheritance flash.events.EventDispatcher
Subclasses BitmapFileMaterial, MovieMaterial

Basic bitmap material



Public Properties
 PropertyDefined By
  bitmap : BitmapData
Defines the bitmapData object to be used as the material's texture.
BitmapMaterial
 Inheriteddebug : Boolean
Switches on the debug outlines around each face drawn with the material.
Material
  height : int
[read-only] Returns the height of the material's bitmapdata object.
BitmapMaterial
  repeat : Boolean
Defines whether repeat is used when drawing the material.
BitmapMaterial
  smooth : Boolean
Defines whether smoothing is used when drawing the material.
BitmapMaterial
  width : int
[read-only] Returns the width of the material's bitmapdata object.
BitmapMaterial
Public Methods
 MethodDefined By
  
BitmapMaterial(bitmap:BitmapData = null)
Creates a new BitmapMaterial object.
BitmapMaterial
Events
 Event Summary Defined By
 InheritedDispatched when the material becomes visible in a view.Material
 InheritedDispatched when the material becomes invisible in a view.Material
Property Detail
bitmapproperty
bitmap:BitmapData

Defines the bitmapData object to be used as the material's texture.


Implementation
    public function get bitmap():BitmapData
    public function set bitmap(value:BitmapData):void
heightproperty 
height:int  [read-only]

Returns the height of the material's bitmapdata object.


Implementation
    public function get height():int
repeatproperty 
repeat:Boolean

Defines whether repeat is used when drawing the material.


Implementation
    public function get repeat():Boolean
    public function set repeat(value:Boolean):void
smoothproperty 
smooth:Boolean

Defines whether smoothing is used when drawing the material.


Implementation
    public function get smooth():Boolean
    public function set smooth(value:Boolean):void
widthproperty 
width:int  [read-only]

Returns the width of the material's bitmapdata object.


Implementation
    public function get width():int
Constructor Detail
BitmapMaterial()Constructor
public function BitmapMaterial(bitmap:BitmapData = null)

Creates a new BitmapMaterial object.

Parameters
bitmap:BitmapData (default = null) — The bitmapData object to be used as the material's texture.
####INIT####