diff --git a/docs/api/en/materials/Material.html b/docs/api/en/materials/Material.html index 55a58aa64a76173d236ca480ac9a1ed9afeb40f6..aa25a9eb6f1bb6cf118dc6cc3d9267d6004f31bb 100644 --- a/docs/api/en/materials/Material.html +++ b/docs/api/en/materials/Material.html @@ -342,6 +342,9 @@ An optional callback that is executed immediately before the shader program is compiled. This function is called with the shader source code as a parameter. Useful for the modification of built-in materials.

+

+ Unlike properties, the callback is not supported by [page:Material.clone .clone](), [page:Material.copy .copy]() and [page:Material.toJSON .toJSON](). +

[method:null setValues]( [param:object values] )

diff --git a/docs/api/zh/materials/Material.html b/docs/api/zh/materials/Material.html index db112fb9a952da89626ea5d9f7a126a78d4f4ed5..b1f53dcacc192402a65f4726c417509eb20688ad 100644 --- a/docs/api/zh/materials/Material.html +++ b/docs/api/zh/materials/Material.html @@ -291,6 +291,9 @@ Defines whether this material is tone mapped according to the renderer's [page:W

[method:null onBeforeCompile]( [param:Shader shader], [param:WebGLRenderer renderer] )

在编译shader程序之前立即执行的可选回调。此函数使用shader源码作为参数。用于修改内置材质。

+

+Unlike properties, the callback is not supported by [page:Material.clone .clone](), [page:Material.copy .copy]() and [page:Material.toJSON .toJSON](). +

[method:null setValues]( [param:object values] )

values -- 具有参数的容器。