Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IChromaticAberrationEffectDefinition

Hierarchy

Index

Properties

The type of this effect.

properties?: { blendFunction?: BlendFunction; modulationOffset?: number; offset?: vec2 | { x: number; y: number }; radialModulation?: boolean }

Type declaration

  • Optional blendFunction?: BlendFunction

    The blend function of this effect. (default: BlendFunction.NORMAL)

  • Optional modulationOffset?: number

    The modulation offset. Only applies if radialModulation is enabled. (default: 0.15)

  • Optional offset?: vec2 | { x: number; y: number }

    The color offset. (default: [0.001, 0.0005])

  • Optional radialModulation?: boolean

    Whether the effect should be modulated with a radial gradient. (default: false)

token?: string

The token of the effect, is only returned by the viewer, but ignored as an input.