Package | away3d.materials |
Class | public class EnviroBitmapMaterial |
Inheritance | EnviroBitmapMaterial ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
![]() | alpha : Number [override]
Defines an alpha value for the texture bitmap. | BitmapMaterial | |
![]() | bitmap : BitmapData
Defines the bitmapData object being used as the material texture. | BitmapMaterial | |
![]() | blendMode : String
Defines a blendMode value for the texture bitmap. | BitmapMaterial | |
![]() | color : uint [override]
Defines a colored tint for the texture bitmap. | BitmapMaterial | |
![]() | colorTransform : ColorTransform
Defines a colortransform for the texture bitmap. | BitmapMaterial | |
![]() | debug : Boolean
Toggles debug mode: textured triangles are drawn with white outlines, precision correction triangles are drawn with blue outlines. | ColorMaterial | |
enviroMap : BitmapData [read-only]
Returns the bitmapData object being used as the material environment map. | EnviroBitmapMaterial | ||
![]() | height : Number [override]
Returns the height of the bitmapData being used as the material texture. | CompositeMaterial | |
![]() | id : int [read-only]
Unique identifier
| Material | |
mode : String
Setting for possible mapping methods. | EnviroBitmapMaterial | ||
reflectiveness : Number
Coefficient for the reflectiveness of the material. | EnviroBitmapMaterial | ||
![]() | repeat : Boolean
Determines if texture bitmap will tile in uv-space
| BitmapMaterial | |
![]() | showNormals : Boolean
Displays the normals per face in pink lines. | BitmapMaterial | |
![]() | smooth : Boolean
Determines if texture bitmap is smoothed (bilinearly filtered) when drawn to screen. | BitmapMaterial | |
![]() | surfaceCache : Boolean | CompositeMaterial | |
textureMaterial : BitmapMaterial [read-only]
Returns the bitmap material being used as the material texture. | EnviroBitmapMaterial | ||
![]() | thickness : Number
Determines the thickness value of the wire
| WireframeMaterial | |
![]() | transparent : Boolean
Defines whether the caching bitmapData objects are transparent
| CompositeMaterial | |
![]() | visible : Boolean [override] [read-only]
Indicates whether the material is visible
| WireColorMaterial | |
![]() | width : Number [override]
Returns the width of the bitmapData being used as the material texture. | CompositeMaterial | |
![]() | wireAlpha : Number
Determines the alpha value of the wire
| WireframeMaterial | |
![]() | wireColor : uint
24 bit color value representing the wire color
| WireframeMaterial |
Method | Defined By | ||
---|---|---|---|
EnviroBitmapMaterial(bitmap:BitmapData, enviroMap:BitmapData, init:Object = null)
Creates a new EnviroBitmapMaterial object. | EnviroBitmapMaterial | ||
![]() | addMaterial(material:LayerMaterial):void | CompositeMaterial | |
![]() | addOnMaterialUpdate(listener:Function):void
Default method for adding a materialupdated event listener
| Material | |
![]() | clearMaterials():void | CompositeMaterial | |
![]() | [override]
Duplicates the material properties to another material object. | ColorMaterial | |
![]() | getPixel32(u:Number, v:Number):uint
Returns the argb value of the bitmapData pixel at the given u v coordinate. | BitmapMaterial | |
![]() | removeMaterial(material:LayerMaterial):void | CompositeMaterial | |
![]() | removeOnMaterialUpdate(listener:Function):void
Default method for removing a materialupdated event listener
| Material |
enviroMap | property |
enviroMap:BitmapData
[read-only] Returns the bitmapData object being used as the material environment map.
public function get enviroMap():BitmapData
mode | property |
mode:String
Setting for possible mapping methods.
public function get mode():String
public function set mode(value:String):void
reflectiveness | property |
reflectiveness:Number
Coefficient for the reflectiveness of the material.
public function get reflectiveness():Number
public function set reflectiveness(value:Number):void
textureMaterial | property |
textureMaterial:BitmapMaterial
[read-only] Returns the bitmap material being used as the material texture.
public function get textureMaterial():BitmapMaterial
EnviroBitmapMaterial | () | Constructor |
public function EnviroBitmapMaterial(bitmap:BitmapData, enviroMap:BitmapData, init:Object = null)
Creates a new EnviroBitmapMaterial
object.
bitmap:BitmapData — The bitmapData object to be used as the material's texture.
| |
enviroMap:BitmapData — The bitmapData object to be used as the material's normal map.
| |
init:Object (default = null ) — [optional] An initialisation object for specifying default instance properties.
|