From be429e9973d8718ec70708cad72a84f943e53b81 Mon Sep 17 00:00:00 2001 From: Oshibuki Date: Fri, 13 Nov 2020 18:11:08 +0800 Subject: [PATCH 1/4] first edition --- .../Editor/Scene Editor/entity_inspector.md | 58 +++++++++---------- 1 file changed, 28 insertions(+), 30 deletions(-) diff --git a/docs/content/schinese/Editor/Scene Editor/entity_inspector.md b/docs/content/schinese/Editor/Scene Editor/entity_inspector.md index 28d9820..9e737cf 100644 --- a/docs/content/schinese/Editor/Scene Editor/entity_inspector.md +++ b/docs/content/schinese/Editor/Scene Editor/entity_inspector.md @@ -1,61 +1,59 @@ +++ -title = "Entity Inspector" +title = "实体查看器" description = "" weight = 20 +++ -### Transform Panel ### +### Transform面板 ### ![](/img/inspectors/entity_inspector/transform/transform.PNG) -Transform panel allows you to change position, rotation and scale properties of the selected entities. -All of these values are relative to the parent of the selected entity. If Entity has no parent, then they are the Global values. (in [World]({{< ref "#world-space" >}}) space). +Transform面板允许您改变所选实体的位置transform、旋转rotation和缩放scale属性。 +所有这些值都是相对于所选实体的父实体而言的,如果实体没有父实体,那么它们就是全局值。(在[世界]({{< ref "#world-space" >}}) 空间中). #### Scale #### -##### Locked ##### +##### 已锁定 ##### ![](/img/inspectors/entity_inspector/transform/scale_locked.PNG) -If the lock icon is in locked state, changing any component of scale parameter will set all scale components to the same value, entity will be in uniform scaling mode. -##### Unlocked ##### +如果锁定图标处于锁定状态,改变比例参数中的任何一个分量,都会将所有比例分量设置为相同的值,实体将处于统一的缩放模式。 +##### 未锁定 ##### ![](/img/inspectors/entity_inspector/transform/scale_unlocked.PNG) -If the lock icon is in unlocked state, every scale component can be changed independently, and will allow non-uniform scaling. +如果锁定图标处于解锁状态,每个比例分量都可以独立改变,并将允许不均匀缩放。 -### Transform with Gizmo ### +### 使用Gizmo进行Transform ### -#### Transform modes #### +#### Transform模式 #### -All of the transformation can also be done using Gizmo. -Gizmo can be activated by selecting an entity (or multiple entities) and pressing one of the hotkeys below. +所有转换也可以使用Gizmo完成。 +可以通过选择一个或多个实体并按下下面的热键之一来激活Gizmo。 Rotate | Translate | Scale ---- | ---- | ---- -Hotkey: R | Hotkey: T | Hotkey: Y +热键: R | 热键: T | 热键: Y ![](/img/inspectors/entity_inspector/transform/gizmo_rotate.PNG) | ![](/img/inspectors/entity_inspector/transform/gizmo_translate.PNG) | ![](/img/inspectors/entity_inspector/transform/gizmo_scale.PNG) -#### Transform spaces #### +#### Transform空间 #### -Gizmo can work in three different spaces; [World]({{< ref "#world-space" >}}) space, [Local]({{< ref "#local-space" >}}) space and [Screen]({{< ref "#screen-space" >}}) space. +Gizmo可以在三个不同的空间工作:[世界]({{< ref "#world-space" >}})空间,[本地]({{< ref "#local-space" >}})空间和[屏幕]({{< ref "#screen-space" >}})空间。 ##### World space ##### -World coordinates is just a fixed, parent coordinate system. This is the global coordinate system that everything is defined relative to. -World Coordinate has a fixed [1, 0, 0] in the X direction, [0, 1, 0] in the Y direction, and [0, 0, 1] in the Z direction. +世界坐标只是一个固定的、父坐标系。这是一个全局坐标系,所有的东西都是相对这个坐标系定义的。 +世界坐标在X方向上具有固定的[ 1,0,0],在Y方向上具有固定的[ 0,1,0 ],在Z方向上具有固定的[0,0,1] 。 ##### Local space ##### -Local coordinates are relative to the entity itself, every transform is defined such as that the center of the entity is center of the universe. +局部坐标是相对于实体本身而言的,每一次变换的定义都是以实体的中心为宇宙的中心。 ##### Screen space ##### -Screen space coordinates are relative to the camera. Right of your viewport is always the X axis, Top is always the Y axis, and forward is always the -Z (minus Z) axis. +画面空间的坐标是相对于摄像机的。视口的右边总是X轴,顶部总是Y轴,向前总是Z(负Z)轴。 +### 实体标签系统 ### +编辑器上的实体可以通过用户定义的标签来标识。 +#### 添加标签 +在实体查看器的“Tags”标题下,有一个标签为“Add New Tag”的按钮。此按钮将打开一个窗口,询问新标签名称。 -### Entity Tag System ### -An entity on editor can be identified by a tag defined by the user. +#### 使用现有标签 +点击“Add New Tag”按钮后,从窗口的下拉菜单中,您可以选择以前添加到当前场景实体中的标签。 -#### Adding Tags -In the Entity Inspector, under the "Tags" title, there is a button with label "Add New Tag". This button opens a window asking for the name of the tag. - -#### Using an Existing Tag -After clicking on the "Add New Tag" button, from the dropdown menu in the window, you can select tags, which were added to the current scene entities before. - -#### A Special Case: Prefabs -If you are modifying a prefab entity, adding tags to the prefab does not break it. In other words, if you change the prefab after tagging the prefab entity in the scene, the scene entity will have all the changes as well. -The tags are stored in the xml files with "< tags >... < / tags >" syntax. (without the white spaces between characters) \ No newline at end of file +#### 特例:预制件 +如果你正在修改一个预制实体,给预制实体添加标签不会破坏它。换句话说,如果你在场景中给预制实体打上标签后又改变主意修改了预制实体,使用了预制实体的场景实体也会有所有的改变。 +标签以"..."的语法存储在xml文件中。(不含字符之间的空格) From f68644f18b0af6e8a07f0a50f85235a5a7a635c6 Mon Sep 17 00:00:00 2001 From: Oshibuki Date: Fri, 13 Nov 2020 18:16:08 +0800 Subject: [PATCH 2/4] fix inline html --- docs/content/schinese/Editor/Scene Editor/entity_inspector.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/schinese/Editor/Scene Editor/entity_inspector.md b/docs/content/schinese/Editor/Scene Editor/entity_inspector.md index 9e737cf..3584605 100644 --- a/docs/content/schinese/Editor/Scene Editor/entity_inspector.md +++ b/docs/content/schinese/Editor/Scene Editor/entity_inspector.md @@ -56,4 +56,4 @@ Gizmo可以在三个不同的空间工作:[世界]({{< ref "#world-space" >}}) #### 特例:预制件 如果你正在修改一个预制实体,给预制实体添加标签不会破坏它。换句话说,如果你在场景中给预制实体打上标签后又改变主意修改了预制实体,使用了预制实体的场景实体也会有所有的改变。 -标签以"..."的语法存储在xml文件中。(不含字符之间的空格) +标签以`...`的语法存储在xml文件中。(不含字符之间的空格) From f5362a5f85613ef1f38af1bb210d684c69a20038 Mon Sep 17 00:00:00 2001 From: Oshibuki Date: Fri, 13 Nov 2020 18:30:51 +0800 Subject: [PATCH 3/4] Update entity_inspector.md --- docs/content/schinese/Editor/Scene Editor/entity_inspector.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/schinese/Editor/Scene Editor/entity_inspector.md b/docs/content/schinese/Editor/Scene Editor/entity_inspector.md index 3584605..62229f0 100644 --- a/docs/content/schinese/Editor/Scene Editor/entity_inspector.md +++ b/docs/content/schinese/Editor/Scene Editor/entity_inspector.md @@ -43,7 +43,7 @@ Gizmo可以在三个不同的空间工作:[世界]({{< ref "#world-space" >}}) 局部坐标是相对于实体本身而言的,每一次变换的定义都是以实体的中心为宇宙的中心。 ##### Screen space ##### -画面空间的坐标是相对于摄像机的。视口的右边总是X轴,顶部总是Y轴,向前总是Z(负Z)轴。 +屏幕空间的坐标是相对于摄像机的。视口的右边总是X轴,顶部总是Y轴,向前总是Z(负Z)轴。 ### 实体标签系统 ### 编辑器上的实体可以通过用户定义的标签来标识。 From adc445d91f82e339363145994c24aec707db15d6 Mon Sep 17 00:00:00 2001 From: Oshibuki Date: Sat, 14 Nov 2020 10:39:42 +0800 Subject: [PATCH 4/4] Update entity_inspector.md --- docs/content/schinese/Editor/Scene Editor/entity_inspector.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/schinese/Editor/Scene Editor/entity_inspector.md b/docs/content/schinese/Editor/Scene Editor/entity_inspector.md index 62229f0..603c95c 100644 --- a/docs/content/schinese/Editor/Scene Editor/entity_inspector.md +++ b/docs/content/schinese/Editor/Scene Editor/entity_inspector.md @@ -7,7 +7,7 @@ weight = 20 ### Transform面板 ### ![](/img/inspectors/entity_inspector/transform/transform.PNG) -Transform面板允许您改变所选实体的位置transform、旋转rotation和缩放scale属性。 +Transform面板允许您改变所选实体的transform、rotation和scale属性。 所有这些值都是相对于所选实体的父实体而言的,如果实体没有父实体,那么它们就是全局值。(在[世界]({{< ref "#world-space" >}}) 空间中). #### Scale ####