Packageaway3d.core.material
Classpublic class BitmapMaterial
ImplementsITriangleMaterial, IUVMaterial
SubclassesPreciseBitmapMaterial

Basic bitmap texture material

Public Properties
 PropertyDefined by
  bitmap : BitmapData
BitmapMaterial
  debug : Boolean
BitmapMaterial
  height : Number
[read-only]
BitmapMaterial
  mapping : Matrix
BitmapMaterial
  repeat : Boolean
BitmapMaterial
  smooth : Boolean
BitmapMaterial
  visible : Boolean
[read-only]
BitmapMaterial
  width : Number
[read-only]
BitmapMaterial
Public Methods
 MethodDefined by
  
BitmapMaterial
(bitmap:BitmapData, init:Object = null)
BitmapMaterial
  
BitmapMaterial
Property detail
bitmapproperty
public var bitmap:BitmapData
debugproperty 
public var debug:Boolean
heightproperty 
height:Number  [read-only]Implementation
    public function get height():Number
mappingproperty 
public var mapping:Matrix
repeatproperty 
public var repeat:Boolean
smoothproperty 
public var smooth:Boolean
visibleproperty 
visible:Boolean  [read-only]Implementation
    public function get visible():Boolean
widthproperty 
width:Number  [read-only]Implementation
    public function get width():Number
Constructor detail
BitmapMaterial()constructor
public function BitmapMaterial(bitmap:BitmapData, init:Object = null)Parameters
bitmap:BitmapData
 
init:Object (default = null)
Init Parameters
Method detail
renderTriangle()method
public function renderTriangle(tri:DrawTriangle, session:RenderSession):void Parameters
tri:DrawTriangle
 
session:RenderSession
Wiki link
Click to go to the wiki page for 'away3d.core.material.BitmapMaterial'

Code examples

Comments