View source
class ShadingMethodBase
package away3d.materials.methods
extends NamedAssetBase
extended by BasicAmbientMethod, BasicNormalMethod, EffectMethodBase, LightingMethodBase, ShadowMapMethodBase
Available on all platforms
ShadingMethodBase provides an abstract base method for shading methods, used by compiled passes to compile the final shading program.
Constructor
new()
Create a new ShadingMethodBase object.
Parameters:
needsNormals | Defines whether or not the method requires normals. |
|---|---|
needsView | Defines whether or not the method requires the view direction. |
Variables
Methods
copyFrom(method:ShadingMethodBase):Void
Copies the state from a ShadingMethodBase object into the current object.