View source
class OutlinePass
package away3d.materials.passes
extends MaterialPassBase
Available on all platforms
OutlinePass is a pass that offsets a mesh and draws it in a single colour. This is a pass provided by OutlineMethod.
See also:
away3d.materials.methods.OutlineMethod
Constructor
new(outlineColor:Int = 0x000000, outlineSize:Float = 20, showInnerLines:Bool = true, dedicatedMeshes:Bool = false)
Creates a new OutlinePass 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! |
Variables
Methods
clearDedicatedMesh(mesh:Mesh):Void
Clears the dedicated mesh associated with a Mesh object to free up memory.