Class TonemappingSettings

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

Hierarchy

  • FrameworkObject
    • TonemappingSettings

Constructors

Accessors

  • get isEnabled(): boolean
  • Determines should the image be tonemapped. Tonemapping converts an HDR image into LDR image by applying a filmic curve to the image, simulating the effect of film cameras. Filmic curve improves image quality by tapering off lows and highs, preventing under- and over-exposure. This is useful if an image contains both very dark and very bright areas, in which case the global exposure parameter would leave some areas either over- or under-exposed. Use #tonemapping to customize how tonemapping performed.

    If this is disabled, then color grading and white balancing will not be enabled either. Only relevant for HDR images.

    Returns boolean

  • set isEnabled(value): void
  • Parameters

    • value: boolean

    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