SkyBoxPass provides a material pass exclusively used to render sky boxes from a cube texture.

Constructor

new()

Creates a new SkyBoxPass object.

Variables

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