Class SceneInstrumentation
Implements
Index
Constructors
Properties
Accessors
Methods
Constructors
constructor
-
Instantiates a new scene instrumentation. This class can be used to get instrumentation data from a Babylon engine
Parameters
- scene: Scene
Defines the scene to instrument
Returns SceneInstrumentation
- scene: Scene
Accessors
active Meshes Evaluation Time Counter
-
Gets the perf counter used for active meshes evaluation time
Returns PerfCounter
animations Time Counter
-
Gets the perf counter used for animations time
Returns PerfCounter
camera Render Time Counter
-
Gets the perf counter used for camera render time capture
Returns PerfCounter
capture Active Meshes Evaluation Time
-
get captureActiveMeshesEvaluationTime(): boolean
Gets the active meshes evaluation time capture status
Returns boolean
-
set captureActiveMeshesEvaluationTime(value: boolean): void
Enable or disable the active meshes evaluation time capture
Parameters
- value: boolean
Returns void
capture Animations Time
-
get captureAnimationsTime(): boolean
Gets the animations time capture status
Returns boolean
-
set captureAnimationsTime(value: boolean): void
Enable or disable the animations time capture
Parameters
- value: boolean
Returns void
capture Camera Render Time
-
get captureCameraRenderTime(): boolean
Gets the camera render time capture status
Returns boolean
-
set captureCameraRenderTime(value: boolean): void
Enable or disable the camera render time capture
Parameters
- value: boolean
Returns void
capture Frame Time
-
get captureFrameTime(): boolean
Gets the frame time capture status
Returns boolean
-
set captureFrameTime(value: boolean): void
Enable or disable the frame time capture
Parameters
- value: boolean
Returns void
capture Inter Frame Time
-
get captureInterFrameTime(): boolean
Gets the inter-frames time capture status
Returns boolean
-
set captureInterFrameTime(value: boolean): void
Enable or disable the inter-frames time capture
Parameters
- value: boolean
Returns void
capture Particles Render Time
-
get captureParticlesRenderTime(): boolean
Gets the particles render time capture status
Returns boolean
-
set captureParticlesRenderTime(value: boolean): void
Enable or disable the particles render time capture
Parameters
- value: boolean
Returns void
capture Physics Time
-
get capturePhysicsTime(): boolean
Gets the physics time capture status
Returns boolean
-
set capturePhysicsTime(value: boolean): void
Enable or disable the physics time capture
Parameters
- value: boolean
Returns void
capture Render Targets Render Time
-
get captureRenderTargetsRenderTime(): boolean
Gets the render targets render time capture status
Returns boolean
-
set captureRenderTargetsRenderTime(value: boolean): void
Enable or disable the render targets render time capture
Parameters
- value: boolean
Returns void
capture Render Time
-
get captureRenderTime(): boolean
Gets the render time capture status
Returns boolean
-
set captureRenderTime(value: boolean): void
Enable or disable the render time capture
Parameters
- value: boolean
Returns void
capture Sprites Render Time
-
get captureSpritesRenderTime(): boolean
Gets the sprites render time capture status
Returns boolean
-
set captureSpritesRenderTime(value: boolean): void
Enable or disable the sprites render time capture
Parameters
- value: boolean
Returns void
draw Calls Counter
-
Gets the perf counter used for draw calls
Returns PerfCounter
frame Time Counter
-
Gets the perf counter used for frame time capture
Returns PerfCounter
inter Frame Time Counter
-
Gets the perf counter used for inter-frames time capture
Returns PerfCounter
particles Render Time Counter
-
Gets the perf counter used for particles render time
Returns PerfCounter
physics Time Counter
-
Gets the perf counter used for physics time
Returns PerfCounter
render Targets Render Time Counter
-
Gets the perf counter used for render targets render time
Returns PerfCounter
render Time Counter
-
Gets the perf counter used for render time capture
Returns PerfCounter
sprites Render Time Counter
-
Gets the perf counter used for sprites render time
Returns PerfCounter
This class can be used to get instrumentation data from a Babylon engine
See
https://doc.babylonjs.com/features/featuresDeepDive/scene/optimize_your_scene#sceneinstrumentation