OutlineMethod provides a shading method to add outlines to an object.

Constructor

@:value({ dedicatedWaterProofMesh : false, showInnerLines : true, outlineSize : 1, outlineColor : 0x000000 })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!

Variables

Inherited Variables

Defined by EffectMethodBase

read onlyassetType:String

Defined by ShadingMethodBase

Defined by NamedAssetBase

read onlyassetFullPath:Array<Dynamic>

read onlyassetNamespace:String

id:String

name:String

read onlyoriginalName:String

Inherited Methods

Defined by ShadingMethodBase

copyFrom(method:ShadingMethodBase):Void

Copies the state from a ShadingMethodBase object into the current object.

dispose():Void

Cleans up any resources used by the current object.

Defined by NamedAssetBase

assetPathEquals(name:String, ns:String):Bool

@:value({ overrideOriginal : true, ns : null })resetAssetPath(name:String, ?ns:String, overrideOriginal:Bool = true):Void