| Package | away3d.materials.methods |
| Class | public class LightMapDiffuseMethod |
| Inheritance | LightMapDiffuseMethod CompositeDiffuseMethod BasicDiffuseMethod LightingMethodBase ShadingMethodBase NamedAssetBase flash.events.EventDispatcher |
| Property | Defined By | ||
|---|---|---|---|
![]() | alphaThreshold : Number [override] | CompositeDiffuseMethod | |
![]() | assetFullPath : Array [read-only] | NamedAssetBase | |
![]() | assetNamespace : String [read-only] | NamedAssetBase | |
![]() | baseMethod : BasicDiffuseMethod
The base diffuse method on which this method's shading is based. | CompositeDiffuseMethod | |
| blendMode : String | LightMapDiffuseMethod | ||
![]() | diffuseAlpha : Number [override]
The alpha component of the diffuse reflection. | CompositeDiffuseMethod | |
![]() | diffuseColor : uint [override]
The color of the diffuse reflection when not using a texture. | CompositeDiffuseMethod | |
| lightMapTexture : Texture2DBase | LightMapDiffuseMethod | ||
![]() | name : String | NamedAssetBase | |
![]() | originalName : String [read-only]
The original name used for this asset in the resource (e.g. | NamedAssetBase | |
![]() | passes : Vector.<MaterialPassBase> [read-only]
Any passes required that render to a texture used by this method. | ShadingMethodBase | |
![]() | texture : Texture2DBase [override]
The bitmapData to use to define the diffuse reflection color per texel. | CompositeDiffuseMethod | |
![]() | _totalLightColorReg : ShaderRegisterElement | BasicDiffuseMethod | |
| Method | Defined By | ||
|---|---|---|---|
LightMapDiffuseMethod(lightMap:Texture2DBase, blendMode:String = multiply, useSecondaryUV:Boolean = false, baseMethod:BasicDiffuseMethod = null) | LightMapDiffuseMethod | ||
![]() | assetPathEquals(name:String, ns:String):Boolean | NamedAssetBase | |
![]() | copyFrom(method:ShadingMethodBase):void [override]
Copies the state from a BasicDiffuseMethod object into the current object. | BasicDiffuseMethod | |
![]() | dispose():void [override]
Cleans up any resources used by the current object. | CompositeDiffuseMethod | |
![]() | generateMip(stage3DProxy:Stage3DProxy):void | BasicDiffuseMethod | |
![]() | resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase | |
| Constant | Defined By | ||
|---|---|---|---|
| ADD : String = add [static] | LightMapDiffuseMethod | ||
![]() | DEFAULT_NAMESPACE : String = default [static] | NamedAssetBase | |
| MULTIPLY : String = multiply [static] | LightMapDiffuseMethod | ||
| blendMode | property |
blendMode:String public function get blendMode():String public function set blendMode(value:String):void| lightMapTexture | property |
lightMapTexture:Texture2DBase public function get lightMapTexture():Texture2DBase public function set lightMapTexture(value:Texture2DBase):void| LightMapDiffuseMethod | () | Constructor |
public function LightMapDiffuseMethod(lightMap:Texture2DBase, blendMode:String = multiply, useSecondaryUV:Boolean = false, baseMethod:BasicDiffuseMethod = null)lightMap:Texture2DBase | |
blendMode:String (default = multiply) | |
useSecondaryUV:Boolean (default = false) | |
baseMethod:BasicDiffuseMethod (default = null) |
| activate | () | method |
override arcane function activate(vo:MethodVO, stage3DProxy:Stage3DProxy):voidParameters
vo:MethodVO | |
stage3DProxy:Stage3DProxy |
| getFragmentPostLightingCode | () | method |
override arcane function getFragmentPostLightingCode(vo:MethodVO, regCache:ShaderRegisterCache, targetReg:ShaderRegisterElement):StringParameters
vo:MethodVO | |
regCache:ShaderRegisterCache | |
targetReg:ShaderRegisterElement |
String |
| initVO | () | method |
| ADD | Constant |
public static const ADD:String = add| MULTIPLY | Constant |
public static const MULTIPLY:String = multiply