View source
class OutlineMethod
package away3d.materials.methods
extends EffectMethodBase › ShadingMethodBase › NamedAssetBase
Available on all platforms
OutlineMethod provides a shading method to add outlines to an object.
Constructor
new(outlineColor:Int = 0x000000, outlineSize:Float = 1, showInnerLines:Bool = true, dedicatedWaterProofMesh:Bool = false)
Creates a new OutlineMethod object.
Parameters:
outlineColor | The colour of the outline stroke |
|---|---|
outlineSize | The size of the outline stroke |
showInnerLines | Indicates whether or not strokes should be potentially drawn over the existing model. |
dedicatedWaterProofMesh | Used to stitch holes appearing due to mismatching normals for overlapping vertices. Warning: this will create a new mesh that is incompatible with animations! |