Skip to content

Commit 9c03ed5

Browse files
authored
Docs: Improve FlyControls page. (#26339)
1 parent 50f36ed commit 9c03ed5

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

docs/examples/en/controls/FlyControls.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ <h3>[property:Boolean dragToLook]</h3>
7070
If set to `true`, you can only look around by performing a drag interaction. Default is `false`.
7171
</p>
7272

73+
<h3>[property:Boolean enabled]</h3>
74+
<p>
75+
When set to `false`, the controls will not respond to user input. Default is `true`.
76+
</p>
77+
7378
<h3>[property:Number movementSpeed]</h3>
7479
<p>
7580
The movement speed. Default is *1*.

docs/examples/ko/controls/FlyControls.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ <h3>[property:Boolean dragToLook]</h3>
7070
*true* 으로 설정되어 있을 경우, 드래그 상호 작용을 수행해야만 주변을 둘러볼 수 있습니다. 기본값은 *false* 입니다.
7171
</p>
7272

73+
<h3>[property:Boolean enabled]</h3>
74+
<p>
75+
*false*로 설정할 경우, 컨트롤은 사용자 입력에 응답하지 못합니다. 기본값은 *true* 입니다.
76+
</p>
77+
7378
<h3>[property:Number movementSpeed]</h3>
7479
<p>
7580
이동 속도를 설정할 수 있습니다. 기본값은 *1* 입니다.

docs/examples/zh/controls/FlyControls.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ <h3>[property:Boolean dragToLook]</h3>
6969
若该值设为*true*,你将只能通过执行拖拽交互来环视四周。默认为*false*。
7070
</p>
7171

72+
<h3>[property:Boolean enabled]</h3>
73+
<p>
74+
当设置为false时,控制器将不会响应用户的操作。默认值为true。
75+
</p>
76+
7277
<h3>[property:Number movementSpeed]</h3>
7378
<p>
7479
移动速度,默认为*1*。

0 commit comments

Comments
 (0)