Package | away3d.materials.methods |
Class | public class LightMapMethod |
Inheritance | LightMapMethod EffectMethodBase ShadingMethodBase flash.events.EventDispatcher |
Property | Defined By | ||
---|---|---|---|
blendMode : String | LightMapMethod | ||
passes : Vector.<MaterialPassBase> [read-only]
Any passes required that render to a texture used by this method. | ShadingMethodBase | ||
texture : Texture2DBase | LightMapMethod |
Method | Defined By | ||
---|---|---|---|
LightMapMethod(texture:Texture2DBase, blendMode:String = multiply, useSecondaryUV:Boolean = false) | LightMapMethod | ||
copyFrom(method:ShadingMethodBase):void
Copies the state from a ShadingMethodBase object into the current object. | ShadingMethodBase | ||
dispose():void
Cleans up any resources used by the current object. | ShadingMethodBase |
Constant | Defined By | ||
---|---|---|---|
ADD : String = add [static] | LightMapMethod | ||
MULTIPLY : String = multiply [static] | LightMapMethod |
blendMode | property |
blendMode:String
public function get blendMode():String
public function set blendMode(value:String):void
texture | property |
texture:Texture2DBase
public function get texture():Texture2DBase
public function set texture(value:Texture2DBase):void
LightMapMethod | () | Constructor |
public function LightMapMethod(texture:Texture2DBase, blendMode:String = multiply, useSecondaryUV:Boolean = false)
texture:Texture2DBase | |
blendMode:String (default = multiply )
| |
useSecondaryUV:Boolean (default = false )
|
activate | () | method |
override arcane function activate(vo:MethodVO, stage3DProxy:Stage3DProxy):void
Parameters
vo:MethodVO | |
stage3DProxy:Stage3DProxy |
getFragmentCode | () | method |
override arcane function getFragmentCode(vo:MethodVO, regCache:ShaderRegisterCache, targetReg:ShaderRegisterElement):String
Parameters
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