OutlinePassPostRenderer

OutlinePassPostRenderer

Outline pass post renderer.
Adds outline to entities with entity.meshRendererComponent.isOutlined set to true.
Only applied when scene is stopped in the editor.

Constructor

new OutlinePassPostRenderer(options)

Parameters:
Name Type Description
options Object
Properties
Name Type Attributes Default Description
color Vector3 <optional>
Black

Color of the outline. See Color for example colors.

width number <optional>
1

Width of the outline. Clamped between 0 and 5.

Members

active :boolean

Whether the outline pass should be applied. Set by RenderSystem's RenderSystem#start and RenderSystem#stop functions.