Package | away3dlite.materials |
Class | public class BitmapMaterial |
Inheritance | BitmapMaterial Material flash.events.EventDispatcher |
Subclasses | BitmapFileMaterial, Dot3BitmapMaterial, MovieMaterial |
Property | Defined by | ||
---|---|---|---|
bitmap : BitmapData
Defines the bitmapData object to be used as the material's texture.
| BitmapMaterial | ||
debug : 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 |
Method | Defined by | ||
---|---|---|---|
BitmapMaterial
(bitmap:BitmapData = null)
Creates a new
BitmapMaterial object. | BitmapMaterial |
bitmap | property |
bitmap:BitmapData
[read-write]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
height | property |
height:int
[read-only]Returns the height of the material's bitmapdata object.
Implementation public function get height():int
repeat | property |
repeat:Boolean
[read-write]Defines whether repeat is used when drawing the material.
Implementation public function get repeat():Boolean
public function set repeat(value:Boolean):void
smooth | property |
smooth:Boolean
[read-write]Defines whether smoothing is used when drawing the material.
Implementation public function get smooth():Boolean
public function set smooth(value:Boolean):void
width | property |
width:int
[read-only]Returns the width of the material's bitmapdata object.
Implementation public function get width():int
BitmapMaterial | () | constructor |
public function BitmapMaterial(bitmap:BitmapData = null)
Parameters
bitmap:BitmapData (default = null ) — The bitmapData object to be used as the material's texture.
|