Class DiagnosticView

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

Hierarchy

  • FrameworkObject
    • DiagnosticView

Constructors

  • Parameters

    • OptionalisInternalConstructor: boolean

    Returns DiagnosticView

Accessors

  • get isEnabled(): boolean
  • If it is enabled or not.

    Returns boolean

  • set isEnabled(value): void
  • Parameters

    • value: boolean

    Returns void

  • get normalizedViewportLocation(): Immutable<Rect2>
  • The position and size of the Diagnostic View on the Viewport. This is where the Diagnostic View should be drawn. This should be normalized. Meaning this values must be set from 0-1. This is set automatically by the Engine, but can be set manually on a stand-alone framework.

    Returns Immutable<Rect2>

  • set normalizedViewportLocation(value): void
  • Parameters

    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