Get the latest Blender, older versions, or experimental builds.
Stay up-to-date with the new features in the latest Blender releases.
Access production assets and knowledge from the open movies.
Documentation on the usage and features in Blender.
Latest development updates, by Blender developers.
Guidelines, release notes and development docs.
A platform to collect and share results of the Blender Benchmark.
The yearly event that brings the community together.
Support core development with a monthly contribution.
Perform a single donation with more payment options available.
# $Id$
# Documentation for KX_NetworkMessageSensor
from SCA_ISensor import *
class KX_NetworkMessageSensor(SCA_ISensor):
"""
The Message Sensor logic brick.
Currently only loopback (local) networks are supported.
def setSubjectFilterText(subject):
Change the message subject text that this sensor is listening to.
@type subject: string
@param subject: the new message subject to listen for.
def getFrameMessageCount():
Get the number of messages received since the last frame.
@rtype: integer
def getBodies():
Gets the list of message bodies.
@rtype: list
def getSubject():
Gets the message subject this sensor is listening for from the Subject: field.
@rtype: string
def getSubjects():
Gets the list of message subjects received.