Package | away3d.materials.methods |
Class | public class RimLightMethod |
Inheritance | RimLightMethod ShadingMethodBase |
Property | Defined by | ||
---|---|---|---|
color : uint | RimLightMethod | ||
passes : Vector
Any passes required that render to a texture used by this method.
| ShadingMethodBase | ||
power : Number | RimLightMethod | ||
strength : Number | RimLightMethod | ||
viewDirVaryingReg : ShaderRegisterElement | ShadingMethodBase |
Method | Defined by | ||
---|---|---|---|
RimLightMethod
(color:uint = 0xffffff, strength:Number = .4, power:Number = 2) | RimLightMethod | ||
Copies the state from a ShadingMethodBase object into the current object.
| ShadingMethodBase | ||
dispose(deep:Boolean):void
Cleans up any resources used by the current object.
| ShadingMethodBase |
color | property |
color:uint
[read-write]Implementation
public function get color():uint
public function set color(value:uint):void
power | property |
power:Number
[read-write]Implementation
public function get power():Number
public function set power(value:Number):void
strength | property |
strength:Number
[read-write]Implementation
public function get strength():Number
public function set strength(value:Number):void
RimLightMethod | () | constructor |
public function RimLightMethod(color:uint = 0xffffff, strength:Number = .4, power:Number = 2)
Parameters
color:uint (default = 0xffffff )
|
|
strength:Number (default = .4 )
|
|
power:Number (default = 2 )
|
activate | () | method |
arcane override function activate(context:Context3D, contextIndex:uint):void
Parameters
context:Context3D |
|
contextIndex:uint |
getFragmentPostLightingCode | () | method |
arcane override function getFragmentPostLightingCode(regCache:ShaderRegisterCache, targetReg:ShaderRegisterElement):String
Parameters
regCache:ShaderRegisterCache |
|
targetReg:ShaderRegisterElement |
String |