Packageaway3dlite.materials
Classpublic class Dot3BitmapMaterial
InheritanceDot3BitmapMaterial Inheritance BitmapMaterial Inheritance Material Inheritance flash.events.EventDispatcher

Bitmap material with DOT3 shading.

Public Properties
 PropertyDefined by
 Inheritedbitmap : 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
 Inheritedheight : int
Returns the height of the material's bitmapdata object.
BitmapMaterial
  normalMap : BitmapData
[read-only] Returns the bitmapData object being used as the material normal map.
Dot3BitmapMaterial
 Inheritedrepeat : Boolean
Defines whether repeat is used when drawing the material.
BitmapMaterial
  shininess : Number
The exponential dropoff value used for specular highlights.
Dot3BitmapMaterial
 Inheritedsmooth : Boolean
Defines whether smoothing is used when drawing the material.
BitmapMaterial
  specular : Number
Coefficient for specular light level.
Dot3BitmapMaterial
 Inheritedwidth : int
Returns the width of the material's bitmapdata object.
BitmapMaterial
Public Methods
 MethodDefined by
  
Dot3BitmapMaterial
(bitmap:BitmapData, normalMap:BitmapData)
Creates a new Dot3BitmapMaterial object.
Dot3BitmapMaterial
Events
 EventSummaryDefined by
 Inherited Dispatched when the material becomes visible in a view.Material
 Inherited Dispatched when the material becomes invisible in a view.Material
Property detail
normalMapproperty
normalMap:BitmapData  [read-only]

Returns the bitmapData object being used as the material normal map.

Implementation
    public function get normalMap():BitmapData
shininessproperty 
shininess:Number  [read-write]

The exponential dropoff value used for specular highlights.

Implementation
    public function get shininess():Number
    public function set shininess(value:Number):void
specularproperty 
specular:Number  [read-write]

Coefficient for specular light level.

Implementation
    public function get specular():Number
    public function set specular(value:Number):void
Constructor detail
Dot3BitmapMaterial()constructor
public function Dot3BitmapMaterial(bitmap:BitmapData, normalMap:BitmapData)Parameters
bitmap:BitmapData — The bitmapData object to be used as the material's texture.
 
normalMap:BitmapData — The bitmapData object to be used as the material's DOT3 map.
Init Parameters
Method detail
updateMaterial()method
arcane override function updateMaterial(source:Mesh, camera:Camera3D):void Parameters
source:Mesh
 
camera:Camera3D
Wiki link
Click to go to the wiki page for 'away3dlite.materials.Dot3BitmapMaterial'

Code examples

Comments