Class FilmGrainSettings

Class that notifies its parent ManagedSettigns or ManagedSubSettings object when one of its members changes.

Hierarchy

  • FrameworkObject
    • FilmGrainSettings

Constructors

  • Parameters

    • OptionalisInternalConstructor: boolean

    Returns FilmGrainSettings

Accessors

  • get intensity(): number
  • Controls how intense are the displayed film grains.

    Returns number

  • set intensity(value): void
  • Parameters

    • value: number

    Returns void

  • get isEnabled(): boolean
  • Enables or disables the effect.

    Returns boolean

  • set isEnabled(value): void
  • Parameters

    • value: boolean

    Returns void

  • get isMonochromatic(): boolean
  • Returns boolean

  • set isMonochromatic(value): void
  • Parameters

    • value: boolean

    Returns void

  • get speed(): number
  • Controls at what speed do the film grains change.

    Returns number

  • set speed(value): void
  • Parameters

    • value: number

    Returns void

Methods

  • Marks the object as dirty.

    Parameters

    Returns void

  • Allows modifying this object multiple times in a row in a scope, without marking the object dirty immediately. Dirty flags are accumulated and the object is marked dirty at the end.

    Parameters

    • action: (() => void)

      The scope where the object is modified.

        • (): void
        • Returns void

    Returns void