Click or drag to resize
Diagnostic Class
Provide diagnostic-related utilities.
Inheritance Hierarchy
SystemObject
  GeonBit.ManagersDiagnostic

Namespace:  GeonBit.Managers
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class Diagnostic : IManager

The Diagnostic type exposes the following members.

Properties
  NameDescription
Public propertyDebugRenderOctree
Set / get if we want to debug render octree parts.
Public propertyDebugRenderPhysics
Set / get if we want to debug render physics.
Public propertyEnabled
Enable / Disable diagnostics.
Public propertyEntitiesDrawCount
Get how many entities were rendered this frame.
Public propertyFpsCount
Get current FPS count.
Public propertyStatic memberInstance
Get diagnostics utils instance.
Public propertyNodesDrawCount
Get how many nodes were rendered this frame.
Public propertyNodesWithEntitiesDrawCount
Get how many nodes with entities were rendered this frame.
Public propertyTransformationsUpdateCount
Get how many nodes did transformations update this frame.
Top
Methods
  NameDescription
Public methodDraw
Called every frame during the Draw() process.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFixedUpdate
Called every constant X seconds during the Update() phase.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetReportString
Get main diagnostics as string.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize
Init diagnostics manager.
Public methodResetDrawCounters
Call this when starting drawing frame.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Update current time.
Top
See Also