浏览代码

Removed a non supported parameter from the docstring (#23651)

The `opacity` parameter is not valid for LineBasicMaterial, it's also not mentioned in the documentation.
But this was mentioned in the parameters docstring, which VSCode also provides as a possible suggestion.
Deepansh Mathur 3 年之前
父节点
当前提交
f3080e3f54
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      src/materials/LineBasicMaterial.js

+ 0 - 2
src/materials/LineBasicMaterial.js

@@ -4,8 +4,6 @@ import { Color } from '../math/Color.js';
 /**
 /**
  * parameters = {
  * parameters = {
  *  color: <hex>,
  *  color: <hex>,
- *  opacity: <float>,
- *
  *  linewidth: <float>,
  *  linewidth: <float>,
  *  linecap: "round",
  *  linecap: "round",
  *  linejoin: "round"
  *  linejoin: "round"