BasicDiffuseMethod provides the default shading method for Lambert (dot3) diffuse lighting.


Inherited from LightingMethodBase -> ShadingMethodBase -> NamedAssetBase -> EventDispatcher.


Created BasicDiffuseMethod object has properties:

alphaThreshold

The minimum alpha value for which pixels should be drawn.

diffuseAlpha

The alpha component of the diffuse reflection.

diffuseColor

The color of the diffuse reflection when not using a texture.

texture

The bitmapData to use to define the diffuse reflection color per texel. (Texture2DBase)


methods:

copyFrom(method)

Copies the state from a ShadingMethodBase object into the current object.

method - (ShadingMethodBase)

dispose()

Cleans up any resources used by the current object.


generateMip(stage3DProxy)

Forces the creation of the texture.

stage3DProxy - The Stage3DProxy used by the renderer (Stage3DProxy)


Created with the Personal Edition of HelpNDoc: Easy CHM and documentation editor