View source
class CelDiffuseMethod
package away3d.materials.methods
extends CompositeDiffuseMethod › BasicDiffuseMethod › LightingMethodBase › ShadingMethodBase › NamedAssetBase
Available on all platforms
CelDiffuseMethod provides a shading method to add diffuse cel (cartoon) shading.
Constructor
new(levels:Int = 3, ?baseDiffuseMethod:BasicDiffuseMethod)
Creates a new CelDiffuseMethod object.
Parameters:
levels | The amount of shadow gradations. |
|---|---|
baseDiffuseMethod | An optional diffuse method on which the cartoon shading is based. If omitted, BasicDiffuseMethod is used. |