658d2546d8
This is sometimes more convenient than enable the entire debug console.
13 lines
381 B
Python
13 lines
381 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')
|
|
|
|
add_node(GetFPSNode, category=PKG_AS_CATEGORY) |