Menu - Top - Home - Donate to Me

H3DU.FrameCounterDiv

Back to documentation index.

H3DU.FrameCounterDiv()

A class that displays a frame counter HTML element.

This class is considered a supplementary class to the Public Domain HTML 3D Library and is not considered part of that library.

To use this class, you must include the script "extras/frame.js"; the class is not included in the "h3du_min.js" file which makes up the HTML 3D Library. Example:

<script type="text/javascript" src="extras/frame.js"></script>

Methods

H3DU.FrameCounterDiv#update()

Updates the frame counter HTML element.

Return Value

Return value. (Type: Object)

Back to documentation index.