| Package | away3d.materials.methods |
| Class | public class BasicNormalMethod |
| Inheritance | BasicNormalMethod ShadingMethodBase NamedAssetBase flash.events.EventDispatcher |
| Subclasses | HeightMapNormalMethod, SimpleWaterNormalMethod |
| Property | Defined By | ||
|---|---|---|---|
![]() | assetFullPath : Array [read-only] | NamedAssetBase | |
![]() | assetNamespace : String [read-only] | NamedAssetBase | |
![]() | name : String | NamedAssetBase | |
| normalMap : Texture2DBase | BasicNormalMethod | ||
![]() | 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 | |
| Property | Defined By | ||
|---|---|---|---|
| _normalTextureRegister : ShaderRegisterElement | BasicNormalMethod | ||
![]() | _passes : Vector.<MaterialPassBase> | ShadingMethodBase | |
![]() | _sharedRegisters : ShaderRegisterData | ShadingMethodBase | |
| Method | Defined By | ||
|---|---|---|---|
| BasicNormalMethod | |||
![]() | assetPathEquals(name:String, ns:String):Boolean | NamedAssetBase | |
copyFrom(method:ShadingMethodBase):void [override] | BasicNormalMethod | ||
dispose():void [override] | BasicNormalMethod | ||
![]() | resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase | |
| _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):voidParameters
vo:MethodVO | |
stage3DProxy:Stage3DProxy |
| cleanCompilationData | () | method |
override arcane function cleanCompilationData():void| copyFrom | () | method |
override public function copyFrom(method:ShadingMethodBase):voidParameters
method:ShadingMethodBase |
| dispose | () | method |
override public function dispose():void| getFragmentCode | () | method |
arcane function getFragmentCode(vo:MethodVO, regCache:ShaderRegisterCache, targetReg:ShaderRegisterElement):StringParameters
vo:MethodVO | |
regCache:ShaderRegisterCache | |
targetReg:ShaderRegisterElement |
String |
| initVO | () | method |