Package | away3d.materials.methods |
Class | public class BasicNormalMethod |
Inheritance | BasicNormalMethod ShadingMethodBase flash.events.EventDispatcher |
Subclasses | HeightMapNormalMethod, SimpleWaterNormalMethod |
Property | Defined By | ||
---|---|---|---|
normalMap : Texture2DBase | BasicNormalMethod | ||
passes : Vector.<MaterialPassBase> [read-only]
Any passes required that render to a texture used by this method. | ShadingMethodBase |
Property | Defined By | ||
---|---|---|---|
_normalTextureRegister : ShaderRegisterElement | BasicNormalMethod | ||
_passes : Vector.<MaterialPassBase> | ShadingMethodBase | ||
_sharedRegisters : ShaderRegisterData | ShadingMethodBase |
Method | Defined By | ||
---|---|---|---|
BasicNormalMethod | |||
copyFrom(method:ShadingMethodBase):void [override] | BasicNormalMethod | ||
dispose():void [override] | BasicNormalMethod |
_normalTextureRegister | property |
protected var _normalTextureRegister:ShaderRegisterElement
hasOutput | property |
hasOutput:Boolean
[read-only] Override this is normal method output is not based on a texture (if not, it will usually always return true)
arcane function get hasOutput():Boolean
normalMap | property |
normalMap:Texture2DBase
public function get normalMap():Texture2DBase
public function set normalMap(value:Texture2DBase):void
tangentSpace | property |
tangentSpace:Boolean
[read-only] arcane function get tangentSpace():Boolean
BasicNormalMethod | () | Constructor |
public function BasicNormalMethod()
activate | () | method |
override arcane function activate(vo:MethodVO, stage3DProxy:Stage3DProxy):void
Parameters
vo:MethodVO | |
stage3DProxy:Stage3DProxy |
cleanCompilationData | () | method |
override arcane function cleanCompilationData():void
copyFrom | () | method |
override public function copyFrom(method:ShadingMethodBase):void
Parameters
method:ShadingMethodBase |
dispose | () | method |
override public function dispose():void
getFragmentCode | () | method |
arcane function getFragmentCode(vo:MethodVO, regCache:ShaderRegisterCache, targetReg:ShaderRegisterElement):String
Parameters
vo:MethodVO | |
regCache:ShaderRegisterCache | |
targetReg:ShaderRegisterElement |
String |
initVO | () | method |