Packageaway3d.materials
Classpublic class WhiteShadingBitmapMaterial
InheritanceWhiteShadingBitmapMaterial Inheritance CenterLightingMaterial
ImplementsIUVMaterial

Bitmap material that takes average of color lightings as a white lighting

Public Properties
 PropertyDefined by
 Inheritedak : Number = 20
CenterLightingMaterial
 Inheritedamb : Number
CenterLightingMaterial
 Inheritedambient_brightness : Number = 1
CenterLightingMaterial
  bitmap : BitmapData
[read-only]
WhiteShadingBitmapMaterial
  blackrender : Boolean
WhiteShadingBitmapMaterial
 Inheritedblue : Number
CenterLightingMaterial
  br : Number
WhiteShadingBitmapMaterial
 Inheritedc0x : Number
CenterLightingMaterial
 Inheritedc0y : Number
CenterLightingMaterial
 Inheritedc0z : Number
CenterLightingMaterial
 Inheritedcx : Number
CenterLightingMaterial
 Inheritedcy : Number
CenterLightingMaterial
 Inheritedcz : Number
CenterLightingMaterial
 Inheritedd1x : Number
CenterLightingMaterial
 Inheritedd1y : Number
CenterLightingMaterial
 Inheritedd1z : Number
CenterLightingMaterial
 Inheritedd2x : Number
CenterLightingMaterial
 Inheritedd2y : Number
CenterLightingMaterial
 Inheritedd2z : Number
CenterLightingMaterial
 Inheriteddf : Number
CenterLightingMaterial
 Inheriteddfx : Number
CenterLightingMaterial
 Inheriteddfy : Number
CenterLightingMaterial
 Inheriteddfz : Number
CenterLightingMaterial
 Inheriteddiff : Number
CenterLightingMaterial
  diffuse : BitmapData
WhiteShadingBitmapMaterial
 Inheriteddiffuse_brightness : Number = 1
CenterLightingMaterial
 Inherited_diffuseTransform : Matrix3D
CenterLightingMaterial
 Inheriteddirectional : DirectionalLightSource
CenterLightingMaterial
 Inheriteddraw_fall : Boolean = false
CenterLightingMaterial
 Inheriteddraw_fall_k : Number = 1
CenterLightingMaterial
 Inheriteddraw_normal : Boolean = false
CenterLightingMaterial
 Inheriteddraw_reflect : Boolean = false
CenterLightingMaterial
 Inheriteddraw_reflect_k : Number = 1
CenterLightingMaterial
  _faceDictionary : Dictionary
WhiteShadingBitmapMaterial
  faceDictionary : Dictionary
[read-only]
WhiteShadingBitmapMaterial
 Inheritedfade : Number
CenterLightingMaterial
 Inheritedffx : Number
CenterLightingMaterial
 Inheritedffy : Number
CenterLightingMaterial
 Inheritedffz : Number
CenterLightingMaterial
 Inheritedfocus : Number
CenterLightingMaterial
 Inheritedfx : Number
CenterLightingMaterial
 Inheritedfy : Number
CenterLightingMaterial
 Inheritedfz : Number
CenterLightingMaterial
 Inheritedglobal : AmbientLightSource
CenterLightingMaterial
 Inheritedgraphics : Graphics
CenterLightingMaterial
 Inheritedgreen : Number
CenterLightingMaterial
  height : Number
[read-only]
WhiteShadingBitmapMaterial
 Inheritedkab : Number
CenterLightingMaterial
 Inheritedkag : Number
CenterLightingMaterial
 Inheritedkar : Number
CenterLightingMaterial
 Inheritedkdb : Number
CenterLightingMaterial
 Inheritedkdg : Number
CenterLightingMaterial
 Inheritedkdr : Number
CenterLightingMaterial
 Inheritedksb : Number
CenterLightingMaterial
 Inheritedksg : Number
CenterLightingMaterial
 Inheritedksr : Number
CenterLightingMaterial
  mapping : Matrix
WhiteShadingBitmapMaterial
 Inheritedncx : Number
CenterLightingMaterial
 Inheritedncy : Number
CenterLightingMaterial
 Inheritedncz : Number
CenterLightingMaterial
 Inheritednf : Number
CenterLightingMaterial
 Inheritednx : Number
CenterLightingMaterial
 Inheritedny : Number
CenterLightingMaterial
 Inheritednz : Number
CenterLightingMaterial
 Inheritedpa : Number
CenterLightingMaterial
 Inheritedpb : Number
CenterLightingMaterial
 Inheritedpc : Number
CenterLightingMaterial
 Inheritedpdd : Number
CenterLightingMaterial
 Inheritedpoint : PointLightSource
CenterLightingMaterial
 Inheritedprojection : Projection
CenterLightingMaterial
 Inheritedred : Number
CenterLightingMaterial
  repeat : Boolean
WhiteShadingBitmapMaterial
 Inheritedrfx : Number
CenterLightingMaterial
 Inheritedrfy : Number
CenterLightingMaterial
 Inheritedrfz : Number
CenterLightingMaterial
 Inheritedrx : Number
CenterLightingMaterial
 Inheritedry : Number
CenterLightingMaterial
 Inheritedrz : Number
CenterLightingMaterial
 Inheritedsession : AbstractRenderSession
CenterLightingMaterial
  smooth : Boolean
WhiteShadingBitmapMaterial
 Inherited_source : Mesh
CenterLightingMaterial
 Inheritedspec : Number
CenterLightingMaterial
 Inheritedspecular_brightness : Number = 1
CenterLightingMaterial
 Inheritedsum : Number
CenterLightingMaterial
 Inheritedv0 : ScreenVertex
CenterLightingMaterial
 Inheritedv0p : Number
CenterLightingMaterial
 Inheritedv0x : Number
CenterLightingMaterial
 Inheritedv0y : Number
CenterLightingMaterial
 Inheritedv0z : Number
CenterLightingMaterial
 Inheritedv1 : ScreenVertex
CenterLightingMaterial
 Inheritedv1p : Number
CenterLightingMaterial
 Inheritedv1x : Number
CenterLightingMaterial
 Inheritedv1y : Number
CenterLightingMaterial
 Inheritedv1z : Number
CenterLightingMaterial
 Inheritedv2 : ScreenVertex
CenterLightingMaterial
 Inheritedv2p : Number
CenterLightingMaterial
 Inheritedv2x : Number
CenterLightingMaterial
 Inheritedv2y : Number
CenterLightingMaterial
 Inheritedv2z : Number
CenterLightingMaterial
  visible : Boolean
[read-only]
WhiteShadingBitmapMaterial
  whitek : Number = 0.2
WhiteShadingBitmapMaterial
  whiterender : Boolean
WhiteShadingBitmapMaterial
  width : Number
[read-only]
WhiteShadingBitmapMaterial
 Inheritedzoom : Number
CenterLightingMaterial
Public Methods
 MethodDefined by
  
WhiteShadingBitmapMaterial
(diffuse:BitmapData, init:Object = null)
WhiteShadingBitmapMaterial
  
doubleStepTo(limit:int):void
WhiteShadingBitmapMaterial
  
renderMaterial(source:Mesh):void
WhiteShadingBitmapMaterial
  
renderTri(tri:DrawTriangle, session:AbstractRenderSession, kar:Number, kag:Number, kab:Number, kdr:Number, kdg:Number, kdb:Number, ksr:Number, ksg:Number, ksb:Number):void
WhiteShadingBitmapMaterial
 Inherited
CenterLightingMaterial
 Inherited
updateMaterial(source:Object3D, view:View3D):void
CenterLightingMaterial
Protected Methods
 MethodDefined by
  
ladder(v:Number):Number
WhiteShadingBitmapMaterial
Property detail
bitmapproperty
bitmap:BitmapData  [read-only]Implementation
    public function get bitmap():BitmapData
blackrenderproperty 
public var blackrender:Boolean
brproperty 
public var br:Number
diffuseproperty 
public var diffuse:BitmapData
_faceDictionaryproperty 
public var _faceDictionary:Dictionary
faceDictionaryproperty 
faceDictionary:Dictionary  [read-only]Implementation
    public function get faceDictionary():Dictionary
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
whitekproperty 
public var whitek:Number = 0.2
whiterenderproperty 
public var whiterender:Boolean
widthproperty 
width:Number  [read-only]Implementation
    public function get width():Number
Constructor detail
WhiteShadingBitmapMaterial()constructor
public function WhiteShadingBitmapMaterial(diffuse:BitmapData, init:Object = null)Parameters
diffuse:BitmapData
 
init:Object (default = null)
Init Parameters
Method detail
doubleStepTo()method
public function doubleStepTo(limit:int):void Parameters
limit:int
ladder()method 
protected function ladder(v:Number):Number Parameters
v:Number

Returns
Number
renderMaterial()method 
public function renderMaterial(source:Mesh):void Parameters
source:Mesh
renderTri()method 
public override function renderTri(tri:DrawTriangle, session:AbstractRenderSession, kar:Number, kag:Number, kab:Number, kdr:Number, kdg:Number, kdb:Number, ksr:Number, ksg:Number, ksb:Number):void Parameters
tri:DrawTriangle
 
session:AbstractRenderSession
 
kar:Number
 
kag:Number
 
kab:Number
 
kdr:Number
 
kdg:Number
 
kdb:Number
 
ksr:Number
 
ksg:Number
 
ksb:Number
Wiki link
Click to go to the wiki page for 'away3d.materials.WhiteShadingBitmapMaterial'

Code examples

Comments