FPS counter

FPS counter - object that measures the number of FPS (Frame Per Seconds) in the project in real time
Inspector
FPS counter
- Distance to the player - distance at which the counter is mounted relative to the player's head
- Binding type - type of attachment of the counter to the player's camera. Binding can be made:
- Fixed - the counter is always displayed in the centre of the screen
- Relative - the counter follows the player's camera in the horizontal axis, but is fixed in the vertical axis
- Horizontal alignment of the panel
- Left
- Centre
- Right
- Vertical alignment of the panel
- Top
- Centre
- Bottom
- Panel offset X - shift of the counter horizontally. Shift to the left is set by setting a negative value
- Panel offset Y - vertical shift of the counter. Shift downwards is set by setting a negative value
- Panel transparency [0-100%] - counter transparency setting
Blockly
Variables
Returns a counter object
Функции

Getting the current number of frames per second