Class DiagnosticPixelInspectionSettings

A struct that defines the Pixel Inspection settings. The mouse position to cache, and whether is enabled or not.

Constructors

Properties

_apertureSize: number
_isEnabled: boolean
_isInsideViewportBounds: boolean
_relativeMouseLocation: Vector2

Accessors

  • get apertureSize(): number
  • The aperture size to fetch from the pixel data.

    Returns number

  • set apertureSize(value): void
  • Parameters

    • value: number

    Returns void

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

    Returns boolean

  • set isEnabled(value): void
  • Parameters

    • value: boolean

    Returns void

  • get isInsideViewportBounds(): boolean
  • If the pointer is inside the scene viewport bounds.

    Returns boolean

  • set isInsideViewportBounds(value): void
  • Parameters

    • value: boolean

    Returns void

  • get relativeMouseLocation(): Vector2
  • The position of the mouse, relative to the viewport screen bounds.

    Returns Vector2

  • set relativeMouseLocation(value): void
  • Parameters

    Returns void

Methods