Performance fps and ms

57 views
Skip to first unread message

Tobias Wicht

unread,
Mar 12, 2017, 1:20:44 PM3/12/17
to cesium-dev
Hi, I'm new and have a question I can't find out after playing a longer time with sandcastle.
How can the Performance in fps and ms can be shown like in the CesiumViewer example, that means without Primitives, Frustums, Terrain etc.
I've tried

viewer.extend(Cesium.viewerCesiumInspectorMixin);
viewer.cesiumInspector.viewModel.performance = true;
viewer.cesiumInspector.viewModel.dropDownVisible = false;

But that does not give the result like in Cesium Viewer.
Thanks
Tobias 

Sean Lilley

unread,
Mar 12, 2017, 7:50:42 PM3/12/17
to cesium-dev
Try viewer.scene.debugShowFramesPerSecond = true;

Tobias Wicht

unread,
Mar 14, 2017, 2:39:01 PM3/14/17
to cesium-dev
Thanks Sean, thats it.
Reply all
Reply to author
Forward
0 new messages