<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ocr.michiyo.me/w/index.php?action=history&amp;feed=atom&amp;title=Component%2Fmotion_sensor%2Fzh</id>
	<title>Component/motion sensor/zh - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://ocr.michiyo.me/w/index.php?action=history&amp;feed=atom&amp;title=Component%2Fmotion_sensor%2Fzh"/>
	<link rel="alternate" type="text/html" href="https://ocr.michiyo.me/w/index.php?title=Component/motion_sensor/zh&amp;action=history"/>
	<updated>2026-08-24T16:57:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://ocr.michiyo.me/w/index.php?title=Component/motion_sensor/zh&amp;diff=1183&amp;oldid=prev</id>
		<title>imported&gt;OCDoc Import: Imported from legacy OpenComputers documentation at ocdoc.cil.li</title>
		<link rel="alternate" type="text/html" href="https://ocr.michiyo.me/w/index.php?title=Component/motion_sensor/zh&amp;diff=1183&amp;oldid=prev"/>
		<updated>2026-08-24T08:08:27Z</updated>

		<summary type="html">&lt;p&gt;Imported from legacy OpenComputers documentation at ocdoc.cil.li&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= 组件：运动传感器 =&lt;br /&gt;
&lt;br /&gt;
此组件由[[Block/motion sensor/zh|运动传感器]]提供。 若[[Block/motion sensor/zh|运动传感器]]视线范围内的某个实体移动速度超过阈值，将会有一个[[Component/signals/zh#运动传感器方块|motion]]事件将被推入事件队列中。传感器的侦测范围半径为8，且每半秒钟更新一次数据。&lt;br /&gt;
&lt;br /&gt;
组件名：`motion_sensor`。&lt;br /&gt;
&lt;br /&gt;
回调函数：&lt;br /&gt;
&lt;br /&gt;
* `getSensitivity(): number` 获取传感器当前的灵敏度，即实体移动速度达到多少格/秒时会触发信号。&lt;br /&gt;
* `setSensitivity(value: number): number` 将传感器的灵敏度设定为指定值，返回值为旧灵敏度。&lt;br /&gt;
&lt;br /&gt;
== 目录 ==&lt;br /&gt;
&lt;br /&gt;
{{:Component/contents/zh}}&lt;br /&gt;
&lt;/div&gt;</summary>
		<author><name>imported&gt;OCDoc Import</name></author>
	</entry>
</feed>