Package | away3d.materials.methods |
Class | public class FresnelPlanarReflectionMethod |
Inheritance | FresnelPlanarReflectionMethod ![]() ![]() ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
alpha : Number | FresnelPlanarReflectionMethod | ||
![]() | assetFullPath : Array [read-only] | NamedAssetBase | |
![]() | assetNamespace : String [read-only] | NamedAssetBase | |
![]() | assetType : String [read-only] | EffectMethodBase | |
fresnelPower : Number | FresnelPlanarReflectionMethod | ||
![]() | name : String | NamedAssetBase | |
normalDisplacement : Number | FresnelPlanarReflectionMethod | ||
normalReflectance : Number
The minimum amount of reflectance, ie the reflectance when the view direction is normal to the surface or light direction. | FresnelPlanarReflectionMethod | ||
![]() | 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 : PlanarReflectionTexture | FresnelPlanarReflectionMethod |
Method | Defined By | ||
---|---|---|---|
FresnelPlanarReflectionMethod(texture:PlanarReflectionTexture, alpha:Number = 1) | FresnelPlanarReflectionMethod | ||
![]() | 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 |
alpha | property |
alpha:Number
public function get alpha():Number
public function set alpha(value:Number):void
fresnelPower | property |
fresnelPower:Number
public function get fresnelPower():Number
public function set fresnelPower(value:Number):void
normalDisplacement | property |
normalDisplacement:Number
public function get normalDisplacement():Number
public function set normalDisplacement(value:Number):void
normalReflectance | property |
normalReflectance:Number
The minimum amount of reflectance, ie the reflectance when the view direction is normal to the surface or light direction.
public function get normalReflectance():Number
public function set normalReflectance(value:Number):void
texture | property |
texture:PlanarReflectionTexture
public function get texture():PlanarReflectionTexture
public function set texture(value:PlanarReflectionTexture):void
FresnelPlanarReflectionMethod | () | Constructor |
public function FresnelPlanarReflectionMethod(texture:PlanarReflectionTexture, alpha:Number = 1)
texture:PlanarReflectionTexture | |
alpha:Number (default = 1 )
|
activate | () | method |
override arcane function activate(vo:MethodVO, stage3DProxy:Stage3DProxy):void
Parameters
vo:MethodVO | |
stage3DProxy:Stage3DProxy |
getFragmentCode | () | method |
override arcane function getFragmentCode(vo:MethodVO, regCache:ShaderRegisterCache, targetReg:ShaderRegisterElement):String
Parameters
vo:MethodVO | |
regCache:ShaderRegisterCache | |
targetReg:ShaderRegisterElement |
String |
initVO | () | method |