Skip to content

Commit

Permalink
Docs: Improve FlyControls page. (mrdoob#26339)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 authored Jun 27, 2023
1 parent 50f36ed commit 9c03ed5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/examples/en/controls/FlyControls.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ <h3>[property:Boolean dragToLook]</h3>
If set to `true`, you can only look around by performing a drag interaction. Default is `false`.
</p>

<h3>[property:Boolean enabled]</h3>
<p>
When set to `false`, the controls will not respond to user input. Default is `true`.
</p>

<h3>[property:Number movementSpeed]</h3>
<p>
The movement speed. Default is *1*.
Expand Down
5 changes: 5 additions & 0 deletions docs/examples/ko/controls/FlyControls.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ <h3>[property:Boolean dragToLook]</h3>
*true* 으로 설정되어 있을 경우, 드래그 상호 작용을 수행해야만 주변을 둘러볼 수 있습니다. 기본값은 *false* 입니다.
</p>

<h3>[property:Boolean enabled]</h3>
<p>
*false*로 설정할 경우, 컨트롤은 사용자 입력에 응답하지 못합니다. 기본값은 *true* 입니다.
</p>

<h3>[property:Number movementSpeed]</h3>
<p>
이동 속도를 설정할 수 있습니다. 기본값은 *1* 입니다.
Expand Down
5 changes: 5 additions & 0 deletions docs/examples/zh/controls/FlyControls.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ <h3>[property:Boolean dragToLook]</h3>
若该值设为*true*,你将只能通过执行拖拽交互来环视四周。默认为*false*。
</p>

<h3>[property:Boolean enabled]</h3>
<p>
当设置为false时,控制器将不会响应用户的操作。默认值为true。
</p>

<h3>[property:Number movementSpeed]</h3>
<p>
移动速度,默认为*1*。
Expand Down

0 comments on commit 9c03ed5

Please sign in to comment.