Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Ablesons
three.js
提交
ae1975c3
T
three.js
项目概览
Ablesons
/
three.js
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
three.js
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
ae1975c3
编写于
2月 09, 2017
作者:
M
Mr.doob
提交者:
GitHub
2月 09, 2017
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #10773 from m4jing/patch-for-doc-light
Fixed syntax errors
上级
d4a38332
9dc8b505
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
5 addition
and
5 deletion
+5
-5
docs/api/lights/DirectionalLight.html
docs/api/lights/DirectionalLight.html
+1
-1
docs/api/lights/shadows/DirectionalLightShadow.html
docs/api/lights/shadows/DirectionalLightShadow.html
+1
-1
docs/api/lights/shadows/LightShadow.html
docs/api/lights/shadows/LightShadow.html
+2
-2
docs/api/lights/shadows/SpotLightShadow.html
docs/api/lights/shadows/SpotLightShadow.html
+1
-1
未找到文件。
docs/api/lights/DirectionalLight.html
浏览文件 @
ae1975c3
...
@@ -102,7 +102,7 @@ scene.add( directionalLight );
...
@@ -102,7 +102,7 @@ scene.add( directionalLight );
The DirectionalLight points from its [page:.position position] to target.position. The default
The DirectionalLight points from its [page:.position position] to target.position. The default
position of the target is *(0, 0, 0)*.
<br
/>
position of the target is *(0, 0, 0)*.
<br
/>
*Note*: For the t
he t
arget's position to be changed to anything other than the default,
*Note*: For the target's position to be changed to anything other than the default,
it must be added to the [page:Scene scene] using
it must be added to the [page:Scene scene] using
<code>
<code>
scene.add( light.target );
scene.add( light.target );
...
...
docs/api/lights/shadows/DirectionalLightShadow.html
浏览文件 @
ae1975c3
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<h1>
[name]
</h1>
<h1>
[name]
</h1>
<div
class=
"desc"
>
<div
class=
"desc"
>
This used internally by [page:DirectionalLight DirectionalLights] for calculating shadows.
<br
/><br
/>
This
is
used internally by [page:DirectionalLight DirectionalLights] for calculating shadows.
<br
/><br
/>
Unlike the other shadow classes, this uses an [page:OrthographicCamera] to calculate the shadows,
Unlike the other shadow classes, this uses an [page:OrthographicCamera] to calculate the shadows,
rather than a [page:PerspectiveCamera]. This is because light rays from a [page:DirectionalLight]
rather than a [page:PerspectiveCamera]. This is because light rays from a [page:DirectionalLight]
...
...
docs/api/lights/shadows/LightShadow.html
浏览文件 @
ae1975c3
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
<h1>
[name]
</h1>
<h1>
[name]
</h1>
<div
class=
"desc"
>
<div
class=
"desc"
>
This used internally by [page:PointLight PointLights] for calculating shadows, and also serves as
This
is
used internally by [page:PointLight PointLights] for calculating shadows, and also serves as
a base class for the other shadow classes.
a base class for the other shadow classes.
</div>
</div>
...
@@ -108,7 +108,7 @@ scene.add( helper );
...
@@ -108,7 +108,7 @@ scene.add( helper );
<h3>
[property:Float radius]
</h3>
<h3>
[property:Float radius]
</h3>
<div>
<div>
Setting this t
his t
o values greater than 1 will blur the edges of the shadow.
<br
/>
Setting this to values greater than 1 will blur the edges of the shadow.
<br
/>
High values will cause unwanted banding effects in the shadows - a greater [page:.mapSize mapSize]
High values will cause unwanted banding effects in the shadows - a greater [page:.mapSize mapSize]
will allow for a higher value to be used here before these effects become visible.
<br
/><br
/>
will allow for a higher value to be used here before these effects become visible.
<br
/><br
/>
...
...
docs/api/lights/shadows/SpotLightShadow.html
浏览文件 @
ae1975c3
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<h1>
[name]
</h1>
<h1>
[name]
</h1>
<div
class=
"desc"
>
<div
class=
"desc"
>
This used internally by [page:SpotLight SpotLights] for calculating shadows.
This
is
used internally by [page:SpotLight SpotLights] for calculating shadows.
</div>
</div>
<h2>
Example
</h2>
<h2>
Example
</h2>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录