Class DiagnosticView

A struct that defines single Diagnostic View. Its type and whether it is active or not.

Constructors

Properties

_isEnabled: boolean
_normalizedViewportLocation: Rect2

Accessors

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

    Returns boolean

  • set isEnabled(value): void
  • Parameters

    • value: boolean

    Returns void

  • get normalizedViewportLocation(): 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 Rect2

  • set normalizedViewportLocation(value): void
  • Parameters

    Returns void

Methods