Package | away3d.materials.methods |
Class | public class HeightMapNormalMethod |
Inheritance | HeightMapNormalMethod BasicNormalMethod ShadingMethodBase flash.events.EventDispatcher |
Method | Defined By | ||
---|---|---|---|
HeightMapNormalMethod(heightMap:Texture2DBase, worldWidth:Number, worldHeight:Number, worldDepth:Number) | HeightMapNormalMethod | ||
copyFrom(method:ShadingMethodBase):void [override] | HeightMapNormalMethod | ||
dispose():void [override] | BasicNormalMethod |
tangentSpace | property |
tangentSpace:Boolean
[read-only] [override] arcane function get tangentSpace():Boolean
HeightMapNormalMethod | () | Constructor |
public function HeightMapNormalMethod(heightMap:Texture2DBase, worldWidth:Number, worldHeight:Number, worldDepth:Number)
heightMap:Texture2DBase | |
worldWidth:Number | |
worldHeight:Number | |
worldDepth:Number |
copyFrom | () | method |
override public function copyFrom(method:ShadingMethodBase):void
Parameters
method:ShadingMethodBase |
getFragmentCode | () | method |
override arcane function getFragmentCode(vo:MethodVO, regCache:ShaderRegisterCache, targetReg:ShaderRegisterElement):String
Parameters
vo:MethodVO | |
regCache:ShaderRegisterCache | |
targetReg:ShaderRegisterElement |
String |
initConstants | () | method |