Interface: GlowFilterOptions

GlowFilterOptions

Options for the GlowFilter constructor.

Properties:
Name Type Default Description
alpha number 1

The alpha of the glow

color ColorSource 0xffffff

The color of the glow

distance number 10

The distance of the glow

innerStrength number 0

The strength of the glow inward from the edge of the sprite

knockout boolean false

Toggle to hide the contents and only show glow

outerStrength number 4

The strength of the glow outward from the edge of the sprite

quality number 0.1

A number between 0 and 1 that describes the quality of the glow. The higher the number the less performant

Members

alpha number

The alpha of the glow

Default Value:
  • 1

color ColorSource

The color of the glow

Default Value:
  • 0xffffff

distance number

The distance of the glow

Default Value:
  • 10

innerStrength number

The strength of the glow inward from the edge of the sprite

Default Value:
  • 0

knockout boolean

Toggle to hide the contents and only show glow

Default Value:
  • false

outerStrength number

The strength of the glow outward from the edge of the sprite

Default Value:
  • 4

quality number

A number between 0 and 1 that describes the quality of the glow. The higher the number the less performant

Default Value:
  • 0.1