| Package | away3d.materials.methods |
| Class | public class RimLightMethod |
| Inheritance | RimLightMethod EffectMethodBase ShadingMethodBase NamedAssetBase flash.events.EventDispatcher |
| Property | Defined By | ||
|---|---|---|---|
![]() | assetFullPath : Array [read-only] | NamedAssetBase | |
![]() | assetNamespace : String [read-only] | NamedAssetBase | |
![]() | assetType : String [read-only] | EffectMethodBase | |
| color : uint | RimLightMethod | ||
![]() | 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 | |
| power : Number | RimLightMethod | ||
| strength : Number | RimLightMethod | ||
| Method | Defined By | ||
|---|---|---|---|
RimLightMethod(color:uint = 0xffffff, strength:Number = .4, power:Number = 2, blend:String = mix) | RimLightMethod | ||
![]() | assetPathEquals(name:String, ns:String):Boolean | NamedAssetBase | |
![]() | 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 | |
![]() | resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase | |
| Constant | Defined By | ||
|---|---|---|---|
| ADD : String = add [static] | RimLightMethod | ||
![]() | DEFAULT_NAMESPACE : String = default [static] | NamedAssetBase | |
| MIX : String = mix [static] | RimLightMethod | ||
| MULTIPLY : String = multiply [static] | RimLightMethod | ||
| color | property |
color:uint public function get color():uint public function set color(value:uint):void| power | property |
power:Number public function get power():Number public function set power(value:Number):void| strength | property |
strength:Number 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, blend:String = mix)color:uint (default = 0xffffff) | |
strength:Number (default = .4) | |
power:Number (default = 2) | |
blend:String (default = mix) |
| activate | () | method |
override arcane function activate(vo:MethodVO, stage3DProxy:Stage3DProxy):voidParameters
vo:MethodVO | |
stage3DProxy:Stage3DProxy |
| getFragmentCode | () | method |
override arcane function getFragmentCode(vo:MethodVO, regCache:ShaderRegisterCache, targetReg:ShaderRegisterElement):StringParameters
vo:MethodVO | |
regCache:ShaderRegisterCache | |
targetReg:ShaderRegisterElement |
String |
| initConstants | () | method |
| initVO | () | method |
| ADD | Constant |
public static const ADD:String = add| MIX | Constant |
public static const MIX:String = mix| MULTIPLY | Constant |
public static const MULTIPLY:String = multiply