Package | away3d.materials.methods |
Class | public class LightingMethodBase |
Inheritance | LightingMethodBase ShadingMethodBase |
Subclasses | BasicDiffuseMethod, BasicSpecularMethod |
Method | Defined by | ||
---|---|---|---|
LightingMethodBase
(needsNormals:Boolean, needsView:Boolean, needsGlobalPos:Boolean)
Create a new ShadingMethodBase object.
| LightingMethodBase | ||
Copies the state from a ShadingMethodBase object into the current object.
| ShadingMethodBase | ||
dispose(deep:Boolean):void
Cleans up any resources used by the current object.
| ShadingMethodBase |
_modulateMethod | property |
arcane var _modulateMethod:Function
A method that is exposed to wrappers in case the strength needs to be controlled
LightingMethodBase | () | constructor |
public function LightingMethodBase(needsNormals:Boolean, needsView:Boolean, needsGlobalPos:Boolean)
Parameters
needsNormals:Boolean — Defines whether or not the method requires normals.
|
|
needsView:Boolean — Defines whether or not the method requires the view direction.
|
|
needsGlobalPos:Boolean |