armory/blender/arm/logicnode/miscellaneous/LN_get_fps.py
2020-10-28 07:37:06 +03:00

12 lines
334 B
Python

from arm.logicnode.arm_nodes import *
class GetFPSNode(ArmLogicTreeNode):
"""Get the frames per second count."""
bl_idname = 'LNGetFPSNode'
bl_label = 'Get Frames Per Second'
arm_version = 1
def init(self, context):
super(GetFPSNode, self).init(context)
self.add_output('NodeSocketInt', 'Count')