Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
车家大少爷
three.js
提交
4c9de1ff
T
three.js
项目概览
车家大少爷
/
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,发现更多精彩内容 >>
未验证
提交
4c9de1ff
编写于
7月 08, 2019
作者:
M
Michael Herzog
提交者:
GitHub
7月 08, 2019
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #16955 from martinRenou/fix_nodematerial_copy
Nodes: Fix missing return statement in copy functions
上级
7af245c6
451d16f6
变更
54
隐藏空白更改
内联
并排
Showing
54 changed file
with
108 addition
and
0 deletion
+108
-0
examples/jsm/nodes/accessors/CameraNode.js
examples/jsm/nodes/accessors/CameraNode.js
+2
-0
examples/jsm/nodes/accessors/ColorsNode.js
examples/jsm/nodes/accessors/ColorsNode.js
+2
-0
examples/jsm/nodes/accessors/LightNode.js
examples/jsm/nodes/accessors/LightNode.js
+2
-0
examples/jsm/nodes/accessors/NormalNode.js
examples/jsm/nodes/accessors/NormalNode.js
+2
-0
examples/jsm/nodes/accessors/PositionNode.js
examples/jsm/nodes/accessors/PositionNode.js
+2
-0
examples/jsm/nodes/accessors/ResolutionNode.js
examples/jsm/nodes/accessors/ResolutionNode.js
+2
-0
examples/jsm/nodes/accessors/ScreenUVNode.js
examples/jsm/nodes/accessors/ScreenUVNode.js
+2
-0
examples/jsm/nodes/accessors/UVNode.js
examples/jsm/nodes/accessors/UVNode.js
+2
-0
examples/jsm/nodes/bsdfs/BlinnExponentToRoughnessNode.js
examples/jsm/nodes/bsdfs/BlinnExponentToRoughnessNode.js
+2
-0
examples/jsm/nodes/bsdfs/RoughnessToBlinnExponentNode.js
examples/jsm/nodes/bsdfs/RoughnessToBlinnExponentNode.js
+2
-0
examples/jsm/nodes/core/AttributeNode.js
examples/jsm/nodes/core/AttributeNode.js
+2
-0
examples/jsm/nodes/core/ConstNode.js
examples/jsm/nodes/core/ConstNode.js
+2
-0
examples/jsm/nodes/core/FunctionCallNode.js
examples/jsm/nodes/core/FunctionCallNode.js
+2
-0
examples/jsm/nodes/core/FunctionNode.js
examples/jsm/nodes/core/FunctionNode.js
+2
-0
examples/jsm/nodes/core/InputNode.js
examples/jsm/nodes/core/InputNode.js
+2
-0
examples/jsm/nodes/core/Node.js
examples/jsm/nodes/core/Node.js
+2
-0
examples/jsm/nodes/core/VarNode.js
examples/jsm/nodes/core/VarNode.js
+2
-0
examples/jsm/nodes/effects/BlurNode.js
examples/jsm/nodes/effects/BlurNode.js
+2
-0
examples/jsm/nodes/effects/ColorAdjustmentNode.js
examples/jsm/nodes/effects/ColorAdjustmentNode.js
+2
-0
examples/jsm/nodes/effects/LuminanceNode.js
examples/jsm/nodes/effects/LuminanceNode.js
+2
-0
examples/jsm/nodes/inputs/BoolNode.js
examples/jsm/nodes/inputs/BoolNode.js
+2
-0
examples/jsm/nodes/inputs/ColorNode.js
examples/jsm/nodes/inputs/ColorNode.js
+2
-0
examples/jsm/nodes/inputs/CubeTextureNode.js
examples/jsm/nodes/inputs/CubeTextureNode.js
+2
-0
examples/jsm/nodes/inputs/FloatNode.js
examples/jsm/nodes/inputs/FloatNode.js
+2
-0
examples/jsm/nodes/inputs/IntNode.js
examples/jsm/nodes/inputs/IntNode.js
+2
-0
examples/jsm/nodes/inputs/Matrix3Node.js
examples/jsm/nodes/inputs/Matrix3Node.js
+2
-0
examples/jsm/nodes/inputs/Matrix4Node.js
examples/jsm/nodes/inputs/Matrix4Node.js
+2
-0
examples/jsm/nodes/inputs/RTTNode.js
examples/jsm/nodes/inputs/RTTNode.js
+2
-0
examples/jsm/nodes/inputs/ReflectorNode.js
examples/jsm/nodes/inputs/ReflectorNode.js
+2
-0
examples/jsm/nodes/inputs/TextureNode.js
examples/jsm/nodes/inputs/TextureNode.js
+2
-0
examples/jsm/nodes/inputs/Vector2Node.js
examples/jsm/nodes/inputs/Vector2Node.js
+2
-0
examples/jsm/nodes/inputs/Vector3Node.js
examples/jsm/nodes/inputs/Vector3Node.js
+2
-0
examples/jsm/nodes/inputs/Vector4Node.js
examples/jsm/nodes/inputs/Vector4Node.js
+2
-0
examples/jsm/nodes/materials/NodeMaterial.js
examples/jsm/nodes/materials/NodeMaterial.js
+2
-0
examples/jsm/nodes/materials/nodes/PhongNode.js
examples/jsm/nodes/materials/nodes/PhongNode.js
+2
-0
examples/jsm/nodes/materials/nodes/RawNode.js
examples/jsm/nodes/materials/nodes/RawNode.js
+2
-0
examples/jsm/nodes/materials/nodes/SpriteNode.js
examples/jsm/nodes/materials/nodes/SpriteNode.js
+2
-0
examples/jsm/nodes/materials/nodes/StandardNode.js
examples/jsm/nodes/materials/nodes/StandardNode.js
+2
-0
examples/jsm/nodes/math/CondNode.js
examples/jsm/nodes/math/CondNode.js
+2
-0
examples/jsm/nodes/math/MathNode.js
examples/jsm/nodes/math/MathNode.js
+2
-0
examples/jsm/nodes/math/OperatorNode.js
examples/jsm/nodes/math/OperatorNode.js
+2
-0
examples/jsm/nodes/misc/BumpMapNode.js
examples/jsm/nodes/misc/BumpMapNode.js
+2
-0
examples/jsm/nodes/misc/NormalMapNode.js
examples/jsm/nodes/misc/NormalMapNode.js
+2
-0
examples/jsm/nodes/postprocessing/NodePass.js
examples/jsm/nodes/postprocessing/NodePass.js
+2
-0
examples/jsm/nodes/postprocessing/NodePostProcessing.js
examples/jsm/nodes/postprocessing/NodePostProcessing.js
+2
-0
examples/jsm/nodes/procedural/CheckerNode.js
examples/jsm/nodes/procedural/CheckerNode.js
+2
-0
examples/jsm/nodes/procedural/NoiseNode.js
examples/jsm/nodes/procedural/NoiseNode.js
+2
-0
examples/jsm/nodes/utils/BypassNode.js
examples/jsm/nodes/utils/BypassNode.js
+2
-0
examples/jsm/nodes/utils/ColorSpaceNode.js
examples/jsm/nodes/utils/ColorSpaceNode.js
+2
-0
examples/jsm/nodes/utils/JoinNode.js
examples/jsm/nodes/utils/JoinNode.js
+2
-0
examples/jsm/nodes/utils/SwitchNode.js
examples/jsm/nodes/utils/SwitchNode.js
+2
-0
examples/jsm/nodes/utils/TimerNode.js
examples/jsm/nodes/utils/TimerNode.js
+2
-0
examples/jsm/nodes/utils/UVTransformNode.js
examples/jsm/nodes/utils/UVTransformNode.js
+2
-0
examples/jsm/nodes/utils/VelocityNode.js
examples/jsm/nodes/utils/VelocityNode.js
+2
-0
未找到文件。
examples/jsm/nodes/accessors/CameraNode.js
浏览文件 @
4c9de1ff
...
...
@@ -202,6 +202,8 @@ CameraNode.prototype.copy = function ( source ) {
}
return
this
;
};
CameraNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/accessors/ColorsNode.js
浏览文件 @
4c9de1ff
...
...
@@ -34,6 +34,8 @@ ColorsNode.prototype.copy = function ( source ) {
this
.
index
=
source
.
index
;
return
this
;
};
ColorsNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/accessors/LightNode.js
浏览文件 @
4c9de1ff
...
...
@@ -40,6 +40,8 @@ LightNode.prototype.copy = function ( source ) {
this
.
scope
=
source
.
scope
;
return
this
;
};
LightNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/accessors/NormalNode.js
浏览文件 @
4c9de1ff
...
...
@@ -84,6 +84,8 @@ NormalNode.prototype.copy = function ( source ) {
this
.
scope
=
source
.
scope
;
return
this
;
};
NormalNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/accessors/PositionNode.js
浏览文件 @
4c9de1ff
...
...
@@ -114,6 +114,8 @@ PositionNode.prototype.copy = function ( source ) {
this
.
scope
=
source
.
scope
;
return
this
;
};
PositionNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/accessors/ResolutionNode.js
浏览文件 @
4c9de1ff
...
...
@@ -43,6 +43,8 @@ ResolutionNode.prototype.copy = function ( source ) {
this
.
renderer
=
source
.
renderer
;
return
this
;
};
ResolutionNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/accessors/ScreenUVNode.js
浏览文件 @
4c9de1ff
...
...
@@ -43,6 +43,8 @@ ScreenUVNode.prototype.copy = function ( source ) {
this
.
resolution
=
source
.
resolution
;
return
this
;
};
ScreenUVNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/accessors/UVNode.js
浏览文件 @
4c9de1ff
...
...
@@ -36,6 +36,8 @@ UVNode.prototype.copy = function ( source ) {
this
.
index
=
source
.
index
;
return
this
;
};
UVNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/bsdfs/BlinnExponentToRoughnessNode.js
浏览文件 @
4c9de1ff
...
...
@@ -29,6 +29,8 @@ BlinnExponentToRoughnessNode.prototype.copy = function ( source ) {
this
.
blinnExponent
=
source
.
blinnExponent
;
return
this
;
};
BlinnExponentToRoughnessNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/bsdfs/RoughnessToBlinnExponentNode.js
浏览文件 @
4c9de1ff
...
...
@@ -71,6 +71,8 @@ RoughnessToBlinnExponentNode.prototype.copy = function ( source ) {
this
.
texture
=
source
.
texture
;
return
this
;
};
RoughnessToBlinnExponentNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/core/AttributeNode.js
浏览文件 @
4c9de1ff
...
...
@@ -47,6 +47,8 @@ AttributeNode.prototype.copy = function ( source ) {
this
.
type
=
source
.
type
;
return
this
;
};
AttributeNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/core/ConstNode.js
浏览文件 @
4c9de1ff
...
...
@@ -102,6 +102,8 @@ ConstNode.prototype.copy = function ( source ) {
this
.
parse
(
source
.
src
,
source
.
useDefine
);
return
this
;
};
ConstNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/core/FunctionCallNode.js
浏览文件 @
4c9de1ff
...
...
@@ -70,6 +70,8 @@ FunctionCallNode.prototype.copy = function ( source ) {
this
.
value
=
source
.
value
;
return
this
;
};
FunctionCallNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/core/FunctionNode.js
浏览文件 @
4c9de1ff
...
...
@@ -226,6 +226,8 @@ FunctionNode.prototype.copy = function ( source ) {
if
(
source
.
type
!==
undefined
)
this
.
type
=
source
.
type
;
return
this
;
};
FunctionNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/core/InputNode.js
浏览文件 @
4c9de1ff
...
...
@@ -38,6 +38,8 @@ InputNode.prototype.copy = function ( source ) {
if
(
source
.
readonly
!==
undefined
)
this
.
readonly
=
source
.
readonly
;
return
this
;
};
InputNode
.
prototype
.
createJSONNode
=
function
(
meta
)
{
...
...
examples/jsm/nodes/core/Node.js
浏览文件 @
4c9de1ff
...
...
@@ -147,6 +147,8 @@ Node.prototype = {
if
(
source
.
userData
!==
undefined
)
this
.
userData
=
JSON
.
parse
(
JSON
.
stringify
(
source
.
userData
)
);
return
this
;
},
createJSONNode
:
function
(
meta
)
{
...
...
examples/jsm/nodes/core/VarNode.js
浏览文件 @
4c9de1ff
...
...
@@ -43,6 +43,8 @@ VarNode.prototype.copy = function ( source ) {
this
.
type
=
source
.
type
;
this
.
value
=
source
.
value
;
return
this
;
};
VarNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/effects/BlurNode.js
浏览文件 @
4c9de1ff
...
...
@@ -142,6 +142,8 @@ BlurNode.prototype.copy = function ( source ) {
this
.
blurX
=
source
.
blurX
;
this
.
blurY
=
source
.
blurY
;
return
this
;
};
BlurNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/effects/ColorAdjustmentNode.js
浏览文件 @
4c9de1ff
...
...
@@ -113,6 +113,8 @@ ColorAdjustmentNode.prototype.copy = function ( source ) {
this
.
adjustment
=
source
.
adjustment
;
this
.
method
=
source
.
method
;
return
this
;
};
ColorAdjustmentNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/effects/LuminanceNode.js
浏览文件 @
4c9de1ff
...
...
@@ -52,6 +52,8 @@ LuminanceNode.prototype.copy = function ( source ) {
this
.
rgb
=
source
.
rgb
;
return
this
;
};
LuminanceNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/inputs/BoolNode.js
浏览文件 @
4c9de1ff
...
...
@@ -28,6 +28,8 @@ BoolNode.prototype.copy = function ( source ) {
this
.
value
=
source
.
value
;
return
this
;
};
BoolNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/inputs/ColorNode.js
浏览文件 @
4c9de1ff
...
...
@@ -33,6 +33,8 @@ ColorNode.prototype.copy = function ( source ) {
this
.
value
.
copy
(
source
);
return
this
;
};
ColorNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/inputs/CubeTextureNode.js
浏览文件 @
4c9de1ff
...
...
@@ -84,6 +84,8 @@ CubeTextureNode.prototype.copy = function ( source ) {
if
(
source
.
bias
)
this
.
bias
=
source
.
bias
;
return
this
;
};
CubeTextureNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/inputs/FloatNode.js
浏览文件 @
4c9de1ff
...
...
@@ -28,6 +28,8 @@ FloatNode.prototype.copy = function ( source ) {
this
.
value
=
source
.
value
;
return
this
;
};
FloatNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/inputs/IntNode.js
浏览文件 @
4c9de1ff
...
...
@@ -28,6 +28,8 @@ IntNode.prototype.copy = function ( source ) {
this
.
value
=
source
.
value
;
return
this
;
};
IntNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/inputs/Matrix3Node.js
浏览文件 @
4c9de1ff
...
...
@@ -51,6 +51,8 @@ Matrix3Node.prototype.copy = function ( source ) {
this
.
value
.
fromArray
(
source
.
elements
);
return
this
;
};
Matrix3Node
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/inputs/Matrix4Node.js
浏览文件 @
4c9de1ff
...
...
@@ -50,6 +50,8 @@ Matrix4Node.prototype.copy = function ( source ) {
this
.
scope
.
value
.
fromArray
(
source
.
elements
);
return
this
;
};
Matrix4Node
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/inputs/RTTNode.js
浏览文件 @
4c9de1ff
...
...
@@ -135,6 +135,8 @@ RTTNode.prototype.copy = function ( source ) {
this
.
saveTo
=
source
.
saveTo
;
return
this
;
};
RTTNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/inputs/ReflectorNode.js
浏览文件 @
4c9de1ff
...
...
@@ -67,6 +67,8 @@ ReflectorNode.prototype.copy = function ( source ) {
this
.
scope
.
mirror
=
source
.
mirror
;
return
this
;
};
ReflectorNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/inputs/TextureNode.js
浏览文件 @
4c9de1ff
...
...
@@ -89,6 +89,8 @@ TextureNode.prototype.copy = function ( source ) {
if
(
source
.
bias
)
this
.
bias
=
source
.
bias
;
if
(
source
.
project
!==
undefined
)
this
.
project
=
source
.
project
;
return
this
;
};
TextureNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/inputs/Vector2Node.js
浏览文件 @
4c9de1ff
...
...
@@ -33,6 +33,8 @@ Vector2Node.prototype.copy = function ( source ) {
this
.
value
.
copy
(
source
);
return
this
;
};
Vector2Node
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/inputs/Vector3Node.js
浏览文件 @
4c9de1ff
...
...
@@ -33,6 +33,8 @@ Vector3Node.prototype.copy = function ( source ) {
this
.
value
.
copy
(
source
);
return
this
;
};
Vector3Node
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/inputs/Vector4Node.js
浏览文件 @
4c9de1ff
...
...
@@ -33,6 +33,8 @@ Vector4Node.prototype.copy = function ( source ) {
this
.
value
.
copy
(
source
);
return
this
;
};
Vector4Node
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/materials/NodeMaterial.js
浏览文件 @
4c9de1ff
...
...
@@ -144,6 +144,8 @@ NodeMaterial.prototype.copy = function ( source ) {
}
return
this
;
};
NodeMaterial
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/materials/nodes/PhongNode.js
浏览文件 @
4c9de1ff
...
...
@@ -372,6 +372,8 @@ PhongNode.prototype.copy = function ( source ) {
if
(
source
.
environment
)
this
.
environment
=
source
.
environment
;
if
(
source
.
environmentAlpha
)
this
.
environmentAlpha
=
source
.
environmentAlpha
;
return
this
;
};
PhongNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/materials/nodes/RawNode.js
浏览文件 @
4c9de1ff
...
...
@@ -41,6 +41,8 @@ RawNode.prototype.copy = function ( source ) {
this
.
value
=
source
.
value
;
return
this
;
};
RawNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/materials/nodes/SpriteNode.js
浏览文件 @
4c9de1ff
...
...
@@ -202,6 +202,8 @@ SpriteNode.prototype.copy = function ( source ) {
if
(
source
.
alpha
)
this
.
alpha
=
source
.
alpha
;
return
this
;
};
SpriteNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/materials/nodes/StandardNode.js
浏览文件 @
4c9de1ff
...
...
@@ -459,6 +459,8 @@ StandardNode.prototype.copy = function ( source ) {
if
(
source
.
environment
)
this
.
environment
=
source
.
environment
;
return
this
;
};
StandardNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/math/CondNode.js
浏览文件 @
4c9de1ff
...
...
@@ -99,6 +99,8 @@ CondNode.prototype.copy = function ( source ) {
this
.
ifNode
=
source
.
ifNode
;
this
.
elseNode
=
source
.
elseNode
;
return
this
;
};
CondNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/math/MathNode.js
浏览文件 @
4c9de1ff
...
...
@@ -243,6 +243,8 @@ MathNode.prototype.copy = function ( source ) {
this
.
c
=
source
.
c
;
this
.
method
=
source
.
method
;
return
this
;
};
MathNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/math/OperatorNode.js
浏览文件 @
4c9de1ff
...
...
@@ -63,6 +63,8 @@ OperatorNode.prototype.copy = function ( source ) {
this
.
b
=
source
.
b
;
this
.
op
=
source
.
op
;
return
this
;
};
OperatorNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/misc/BumpMapNode.js
浏览文件 @
4c9de1ff
...
...
@@ -144,6 +144,8 @@ BumpMapNode.prototype.copy = function ( source ) {
this
.
value
=
source
.
value
;
this
.
scale
=
source
.
scale
;
return
this
;
};
BumpMapNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/misc/NormalMapNode.js
浏览文件 @
4c9de1ff
...
...
@@ -95,6 +95,8 @@ NormalMapNode.prototype.copy = function ( source ) {
this
.
value
=
source
.
value
;
this
.
scale
=
source
.
scale
;
return
this
;
};
NormalMapNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/postprocessing/NodePass.js
浏览文件 @
4c9de1ff
...
...
@@ -52,6 +52,8 @@ NodePass.prototype.copy = function ( source ) {
this
.
input
=
source
.
input
;
return
this
;
};
NodePass
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/postprocessing/NodePostProcessing.js
浏览文件 @
4c9de1ff
...
...
@@ -97,6 +97,8 @@ NodePostProcessing.prototype = {
this
.
output
=
source
.
output
;
return
this
;
},
toJSON
:
function
(
meta
)
{
...
...
examples/jsm/nodes/procedural/CheckerNode.js
浏览文件 @
4c9de1ff
...
...
@@ -54,6 +54,8 @@ CheckerNode.prototype.copy = function ( source ) {
this
.
uv
=
source
.
uv
;
return
this
;
};
CheckerNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/procedural/NoiseNode.js
浏览文件 @
4c9de1ff
...
...
@@ -48,6 +48,8 @@ NoiseNode.prototype.copy = function ( source ) {
this
.
uv
=
source
.
uv
;
return
this
;
};
NoiseNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/utils/BypassNode.js
浏览文件 @
4c9de1ff
...
...
@@ -62,6 +62,8 @@ BypassNode.prototype.copy = function ( source ) {
this
.
code
=
source
.
code
;
this
.
value
=
source
.
value
;
return
this
;
};
BypassNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/utils/ColorSpaceNode.js
浏览文件 @
4c9de1ff
...
...
@@ -295,6 +295,8 @@ ColorSpaceNode.prototype.copy = function ( source ) {
this
.
input
=
source
.
input
;
this
.
method
=
source
.
method
;
return
this
;
};
ColorSpaceNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/utils/JoinNode.js
浏览文件 @
4c9de1ff
...
...
@@ -78,6 +78,8 @@ JoinNode.prototype.copy = function ( source ) {
}
return
this
;
};
JoinNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/utils/SwitchNode.js
浏览文件 @
4c9de1ff
...
...
@@ -80,6 +80,8 @@ SwitchNode.prototype.copy = function ( source ) {
this
.
node
=
source
.
node
;
this
.
components
=
source
.
components
;
return
this
;
};
SwitchNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/utils/TimerNode.js
浏览文件 @
4c9de1ff
...
...
@@ -75,6 +75,8 @@ TimerNode.prototype.copy = function ( source ) {
this
.
timeScale
=
source
.
timeScale
;
return
this
;
};
TimerNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/utils/UVTransformNode.js
浏览文件 @
4c9de1ff
...
...
@@ -44,6 +44,8 @@ UVTransformNode.prototype.copy = function ( source ) {
this
.
uv
=
source
.
uv
;
this
.
position
=
source
.
position
;
return
this
;
};
UVTransformNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
examples/jsm/nodes/utils/VelocityNode.js
浏览文件 @
4c9de1ff
...
...
@@ -152,6 +152,8 @@ VelocityNode.prototype.copy = function ( source ) {
this
.
setParams
(
source
.
params
);
return
this
;
};
VelocityNode
.
prototype
.
toJSON
=
function
(
meta
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录