Options
All
  • Public
  • Public/Protected
  • All
Menu

This class can be used to get instrumentation data from a Babylon engine

see

https://doc.babylonjs.com/how_to/optimizing_your_scene#sceneinstrumentation

Hierarchy

  • SceneInstrumentation

Implements

Index

Constructors

Properties

scene: Scene

Defines the scene to instrument

Accessors

  • Gets the perf counter used for active meshes evaluation time

    Returns PerfCounter

  • Gets the perf counter used for animations time

    Returns PerfCounter

  • Gets the perf counter used for camera render time capture

    Returns PerfCounter

  • get captureActiveMeshesEvaluationTime(): boolean
  • set captureActiveMeshesEvaluationTime(value: boolean): void
  • Gets the active meshes evaluation time capture status

    Returns boolean

  • Enable or disable the active meshes evaluation time capture

    Parameters

    • value: boolean

    Returns void

  • get captureAnimationsTime(): boolean
  • set captureAnimationsTime(value: boolean): void
  • Gets the animations time capture status

    Returns boolean

  • Enable or disable the animations time capture

    Parameters

    • value: boolean

    Returns void

  • get captureCameraRenderTime(): boolean
  • set captureCameraRenderTime(value: boolean): void
  • Gets the camera render time capture status

    Returns boolean

  • Enable or disable the camera render time capture

    Parameters

    • value: boolean

    Returns void

  • get captureFrameTime(): boolean
  • set captureFrameTime(value: boolean): void
  • Gets the frame time capture status

    Returns boolean

  • Enable or disable the frame time capture

    Parameters

    • value: boolean

    Returns void

  • get captureInterFrameTime(): boolean
  • set captureInterFrameTime(value: boolean): void
  • Gets the inter-frames time capture status

    Returns boolean

  • Enable or disable the inter-frames time capture

    Parameters

    • value: boolean

    Returns void

  • get captureParticlesRenderTime(): boolean
  • set captureParticlesRenderTime(value: boolean): void
  • Gets the particles render time capture status

    Returns boolean

  • Enable or disable the particles render time capture

    Parameters

    • value: boolean

    Returns void

  • get capturePhysicsTime(): boolean
  • set capturePhysicsTime(value: boolean): void
  • Gets the physics time capture status

    Returns boolean

  • Enable or disable the physics time capture

    Parameters

    • value: boolean

    Returns void

  • get captureRenderTargetsRenderTime(): boolean
  • set captureRenderTargetsRenderTime(value: boolean): void
  • Gets the render targets render time capture status

    Returns boolean

  • Enable or disable the render targets render time capture

    Parameters

    • value: boolean

    Returns void

  • get captureRenderTime(): boolean
  • set captureRenderTime(value: boolean): void
  • Gets the render time capture status

    Returns boolean

  • Enable or disable the render time capture

    Parameters

    • value: boolean

    Returns void

  • get captureSpritesRenderTime(): boolean
  • set captureSpritesRenderTime(value: boolean): void
  • Gets the sprites render time capture status

    Returns boolean

  • Enable or disable the sprites render time capture

    Parameters

    • value: boolean

    Returns void

  • Gets the perf counter used for draw calls

    Returns PerfCounter

  • Gets the perf counter used for frame time capture

    Returns PerfCounter

  • Gets the perf counter used for inter-frames time capture

    Returns PerfCounter

  • Gets the perf counter used for particles render time

    Returns PerfCounter

  • Gets the perf counter used for physics time

    Returns PerfCounter

  • Gets the perf counter used for render targets render time

    Returns PerfCounter

  • Gets the perf counter used for render time capture

    Returns PerfCounter

  • Gets the perf counter used for sprites render time

    Returns PerfCounter

Methods

  • dispose(): void
  • Dispose and release associated resources.

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Accessor
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme