Package | away3d.materials.methods |
Class | public class WrapDiffuseMethod |
Inheritance | WrapDiffuseMethod ![]() ![]() ![]() ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
![]() | alphaThreshold : Number
The minimum alpha value for which pixels should be drawn. | BasicDiffuseMethod | |
![]() | assetFullPath : Array [read-only] | NamedAssetBase | |
![]() | assetNamespace : String [read-only] | NamedAssetBase | |
![]() | diffuseAlpha : Number
The alpha component of the diffuse reflection. | BasicDiffuseMethod | |
![]() | diffuseColor : uint
The color of the diffuse reflection when not using a texture. | BasicDiffuseMethod | |
![]() | 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
The bitmapData to use to define the diffuse reflection color per texel. | BasicDiffuseMethod | |
![]() | _totalLightColorReg : ShaderRegisterElement | BasicDiffuseMethod | |
wrapFactor : Number | WrapDiffuseMethod |
Method | Defined By | ||
---|---|---|---|
WrapDiffuseMethod(wrapFactor:Number = .5)
Creates a new WrapDiffuseMethod object. | WrapDiffuseMethod | ||
![]() | 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. | BasicDiffuseMethod | |
![]() | generateMip(stage3DProxy:Stage3DProxy):void | BasicDiffuseMethod | |
![]() | resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase |
wrapFactor | property |
wrapFactor:Number
public function get wrapFactor():Number
public function set wrapFactor(value:Number):void
WrapDiffuseMethod | () | Constructor |
public function WrapDiffuseMethod(wrapFactor:Number = .5)
Creates a new WrapDiffuseMethod object.
ParameterswrapFactor:Number (default = .5 ) — A factor to indicate the amount by which the light is allowed to wrap
|
activate | () | method |
override arcane function activate(vo:MethodVO, stage3DProxy:Stage3DProxy):void
Parameters
vo:MethodVO | |
stage3DProxy:Stage3DProxy |
cleanCompilationData | () | method |
override arcane function cleanCompilationData():void
getFragmentCodePerLight | () | method |
override arcane function getFragmentCodePerLight(vo:MethodVO, lightDirReg:ShaderRegisterElement, lightColReg:ShaderRegisterElement, regCache:ShaderRegisterCache):String
Parameters
vo:MethodVO | |
lightDirReg:ShaderRegisterElement | |
lightColReg:ShaderRegisterElement | |
regCache:ShaderRegisterCache |
String |
getFragmentPreLightingCode | () | method |
override arcane function getFragmentPreLightingCode(vo:MethodVO, regCache:ShaderRegisterCache):String
Parameters
vo:MethodVO | |
regCache:ShaderRegisterCache |
String |