FPS Label

An asset by lupoDharkael
The page banner background of a mountain and forest
FPS Label hero image

Quick Information

0 ratings
FPS Label icon image
lupoDharkael
FPS Label

Godot asset to show the frame rate of your games.

Supported Engine Version
3.1
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
5 years ago
Git URL
Issue URL

Godot Fps Label

Godot asset to show the frame rate of your games.

This document uses the format of the official Godot docs.

That is type name for variables and return_type name(type name) for functions.

Method list

void set_position(Position pos)

Set the position type, if you choose Position.NONE the label won't be forced to a fixed position. If you set other of the defined values in Position.

void update_position()

This is called every time you resize the viewport and it is called inside set_position(), it updates the position of the Label based on the defined Position enum.

Enum

Position:

  • TOP_LEFT
  • TOP_RIGHT
  • BOTTOM_LEFT
  • BOTTOM_RIGHT
  • NONE

Properties

int margin

The margin of the label in pixels.

Label label

Direct reference to the active Label node.

Position position

Holds the value of the enum Position defined by the user.

Asset usage

  • Add a copy of FPSLabel.gd to your game.
  • Add a FPSLabel node to your scene.

Godot asset to show the frame rate of your games.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
FPS Label icon image
lupoDharkael
FPS Label

Godot asset to show the frame rate of your games.

Supported Engine Version
3.1
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
5 years ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers