This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/source/blender/python/api2_2x
Campbell Barton c1e1091f02 moved py controller functions from SCA_PythonController to SCA_IController - the base controller class so python can get the sensors & actuators from any controller (not just SCA_PythonController types)
also deprecated getActuators() and getSensors() for 'sensors' and 'actuators' attributes.

an example of getting every sensor connected to an object.
 all_sensors = [s for c in ob.controllers for s in c.sensors]
2009-05-06 09:12:08 +00:00
..
2009-04-21 09:38:27 +00:00
2008-09-20 10:30:10 +00:00
2008-04-28 00:40:38 +00:00
2009-04-21 09:44:29 +00:00
2007-08-29 03:09:22 +00:00
2009-04-21 09:44:29 +00:00
2009-04-21 09:44:29 +00:00
2009-04-21 09:44:29 +00:00
2008-10-11 12:17:16 +00:00
2008-09-19 12:33:17 +00:00
2009-04-21 09:44:29 +00:00
BPy
2009-04-19 00:09:47 +00:00
2008-07-26 10:45:11 +00:00
2009-04-28 15:28:02 +00:00
2009-04-07 18:55:35 +00:00
2008-09-12 02:23:52 +00:00
2008-09-08 23:39:32 +00:00
2009-04-21 09:44:29 +00:00
2008-09-20 10:30:10 +00:00
2009-04-21 09:44:29 +00:00
2009-02-17 14:41:36 +00:00
2008-08-30 14:32:16 +00:00
2008-09-20 04:37:10 +00:00
2009-04-21 09:44:29 +00:00
2009-04-21 09:44:29 +00:00
2008-09-20 10:30:10 +00:00