osgViewer.StatsHandler

class osgViewer.StatsHandler
Represents:

c++ class

Wraps:

osgViewer::StatsHandler

Bases:

osgGA.GUIEventHandler

Event handler for adding on screen stats reporting to osgViewer.Viewer s.

Constructors:

osgViewer.StatsHandler()

Methods:

:setKeyEventTogglesOnScreenStats(int key)

Параметры:

key (int) –

:getKeyEventTogglesOnScreenStats()

Тип результата:

int

:setKeyEventPrintsOutStats(int key)

Параметры:

key (int) –

:getKeyEventPrintsOutStats()

Тип результата:

int

:getBlockMultiplier()

Тип результата:

double

:reset()

:getCamera()

Тип результата:

osg.Camera

:addUserStatsLine(std.string label, osg.Vec4 textColor, osg.Vec4 barColor, std.string timeTakenName, double multiplier, bool average, bool averageInInverseSpace, std.string beginTimeName, std.string endTimeName, double maxValue)

Параметры:
:removeUserStatsLine(std.string label)

Параметры:

label (std.string) –