A newer version of Max is available. Click here to access the latest version of this document.

jit.fpsgui

Display fps, ms, and matrix attributes

Description

The jit.fpsgui object is a UI object which reports timing and matrix information. Currently available reports: fps (frames per second), ms (milliseconds between incoming data), matrix type, dimensions, planecount, and name. Many of the object's properties may be set from its Inspector.

Arguments

None.

Messages

anything any-message [list]
Any message sent to the object causes it to calculate fps and ms. The matrix attribute displays show n/a .
getstate Sends a sequence of lists describing the incoming matrix's state out the object's right outlet, one line per attribute. Each line listing line takes the form attribute-name attribute-value1 attribute-value2 ... attribute-valueN .
(mouse) Clicking with the mouse lets you select the jit.fpsgui object's display mode.

Attributes

Name Type g/s Description
bgcolor float Sets the RGBA values for the data background color of the jit.fpsgui object's display.
bgcolor2 float Sets the RGBA values for the mode background color of the jit.fpsgui object's display.
bordercolor float Sets the RGBA values for the border color of the jit.fpsgui object's display.
dim int (get) Displays the current dimensions of the incoming matrices.
fps float (get) Displays the current fps (frames per second) rate of the incoming matrices.
htextcolor float Sets the RGBA values for the mode text color of the jit.fpsgui object's display.
interval int The sampling period, in milliseconds, used when calculating fps and ms (default = 100)
mode int
def.:0
Sets the display mode (default = 0 (fps))
0 = fps
1 = ms
2 = matrix type
3 = matrix dimensions
4 = matrix planecount
5 = matrix name
ms float (get) Displays the number of milliseconds elapsed between incoming data.
name symbol (get) Displays the current name of the incoming matrices.
planecount int (get) Displays the current planecount of the incoming matrices.
textcolor float Sets the RGBA values for the data text color of the jit.fpsgui object's display.
timeout int The time interval, in milliseconds, after which the timer resets (default = 2000)
type symbol (get) Displays the current data type of the incoming matrices.
usetimeout int Sets the timeout flag (default = 1). When the flag is set, use of the timeout attribute is enabled.

Information for box attributes common to all objects

Examples

See Also

Name Description
jit.matrixinfo Report matrix planecount, type, dimensions