Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • EffectHandler

Implemented by

Index

Methods

  • enableEffect(name: string, enable: boolean): void
  • isEffectEnabled(name: string): boolean
  • setEffectBooleanParameter(name: string, parameterName: string, value: boolean): boolean
  • Change an effect property value (for properties that are booleans).

    Parameters

    • name: string

      The name of the effect to update.

    • parameterName: string

      The name of the property to update.

    • value: boolean

      The new value (boolean).

    Returns boolean

  • setEffectDoubleParameter(name: string, parameterName: string, value: number): boolean
  • Change an effect property value (for properties that are numbers).

    Parameters

    • name: string

      The name of the effect to update.

    • parameterName: string

      The name of the property to update.

    • value: number

      The new value (number).

    Returns boolean

  • setEffectStringParameter(name: string, parameterName: string, value: string): boolean
  • Change an effect property value (for properties that are strings).

    Parameters

    • name: string

      The name of the effect to update.

    • parameterName: string

      The name of the property to update.

    • value: string

      The new value (string).

    Returns boolean

Generated using TypeDoc