Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve DragControls translation #26216

Merged
merged 1 commit into from
Jun 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/api/zh/extras/DataUtils.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="ch">
<html lang="zh">
<head>
<meta charset="utf-8" />
<base href="../../../" />
Expand Down
11 changes: 5 additions & 6 deletions docs/examples/zh/controls/DragControls.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ <h2>例子</h2>

<p>[example:misc_controls_drag misc / controls / drag ]</p>

<h2>Constructor</h2>
<h2>构造函数</h2>

<h3>[name]( [param:Array objects], [param:Camera camera], [param:HTMLDOMElement domElement] )</h3>
<p>
Expand Down Expand Up @@ -104,11 +104,10 @@ <h3>[property:Boolean enabled]</h3>

<h3>[property:Boolean transformGroup]</h3>
<p>
This option only works if the [page:DragControls.objects] array contains a single draggable group object.
If set to *true*, [name] does not transform individual objects but the entire group. Default is *false*.
当[page:DragControls.objects]数组包含一个单个可拖拽的组对象时该选项生效。如果设置为`true`,[name]会转换整个组对象,而不对单个对象做转换。默认值为`false`。
</p>

<h2>Methods</h2>
<h2>方法</h2>

<p>共有方法请参见其基类[page:EventDispatcher]。</p>

Expand All @@ -129,12 +128,12 @@ <h3>[method:undefined dispose] ()</h3>

<h3>[method:Array getObjects] ()</h3>
<p>
Returns the array of draggable objects.
返回可拖拽的对象数组。
</p>

<h3>[method:Raycaster getRaycaster] ()</h3>
<p>
Returns the internal [page:Raycaster] instance that is used for intersection tests.
返回用于相交测试的内部[page:Raycaster]实例。
</p>

<h2>Source</h2>
Expand Down