Click or drag to resize
AB4D logo

RenderingStatisticsHitTestingTimeMs Property

Gets number of milliseconds that were used for hit testing. Note: this time is not automatically reset to zero when new frame is started (when calling StartNewFrame(Int32) or ResetTimerValues). To show correct results, user needs to manually reset the time when the value is shown (this is done in the DiagnosticsWindow).

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public double HitTestingTimeMs { get; set; }

Property Value

Double
Remarks

Gets number of milliseconds that were used for hit testing.

Note: this time is not automatically reset to zero when new frame is started (when calling StartNewFrame(Int32) or ResetTimerValues). To show correct results, user needs to manually reset the time when the value is shown (this is done in the DiagnosticsWindow).

If the HitTestingTimeMs would be reset in StartNewFrame(Int32) as other timers, then the hit testing that happened in user event handlers and than happened before Update method on DXScene is called would not be measured.

See Also