OrthoSegmentPass is a material pass that draws wireframe segments.

Constructor

new(thickness:Float)

Creates a new OrthoSegmentPass object.

Parameters:

thickness

the thickness of the segments to be drawn.

Inherited Variables

Inherited Methods

Defined by MaterialPassBase

dispose():Void

Cleans up any resources used by the current object.

Parameters:

deep

Indicates whether other resources should be cleaned up, that could potentially be shared across different instances.

setBlendMode(value:BlendMode):Void

The blend mode to use when drawing this renderable. The following blend modes are supported:

  • BlendMode.NORMAL: No blending, unless the material inherently needs it
  • BlendMode.LAYER: Force blending. This will draw the object the same as NORMAL, but without writing depth writes.
  • BlendMode.MULTIPLY
  • BlendMode.ADD
  • BlendMode.ALPHA