Package | away3dlite.materials |
Class | public class Dot3BitmapMaterial |
Inheritance | Dot3BitmapMaterial BitmapMaterial Material flash.events.EventDispatcher |
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
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 | ||
repeat : Boolean
Defines whether repeat is used when drawing the material.
| BitmapMaterial | ||
shininess : Number
The exponential dropoff value used for specular highlights.
| Dot3BitmapMaterial | ||
smooth : Boolean
Defines whether smoothing is used when drawing the material.
| BitmapMaterial | ||
specular : Number
Coefficient for specular light level.
| Dot3BitmapMaterial | ||
width : int
Returns the width of the material's bitmapdata object.
| BitmapMaterial |
Method | Defined by | ||
---|---|---|---|
Dot3BitmapMaterial
(bitmap:BitmapData, normalMap:BitmapData)
Creates a new
Dot3BitmapMaterial object. | Dot3BitmapMaterial |
normalMap | property |
normalMap:BitmapData
[read-only]Returns the bitmapData object being used as the material normal map.
Implementation public function get normalMap():BitmapData
shininess | property |
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
specular | property |
specular:Number
[read-write]Coefficient for specular light level.
Implementation public function get specular():Number
public function set specular(value:Number):void
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.
|
updateMaterial | () | method |
arcane override function updateMaterial(source:Mesh, camera:Camera3D):void
Parameters
source:Mesh |
|
camera:Camera3D |