Render: showProfile

showProfile(bool)
  • Show/hide the Profile in the game window

bool Type:
  • Boolean
Values:
  • True or 1 = show the Profile
     
  • False or 0 = hide the Profile
Blender 3D Show Framerate and Profile checkbox:
  • Info menu>> Game >> Show Framerate and Profile
showProfile(True):
  • Shows only the Profile
     
  • Doesn't show the Framerate
showProfile(False):
  • Hides only the Profile
     
  • Won't hide the Framerate if the Show Framerate and Profile checkbox is enabled
Sample Code

################  show the profile in the game window

# import bge module
import bge

# get the render module
rend = bge.render

# show profile
rend.showProfile(True)