未验证 提交 8310817b 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #17401 from aardgoose/doc-ba

document length parameter behaviour of <type>BufferAttribute
......@@ -33,9 +33,11 @@
<p>All of the above are called in the same way.</p>
<h3>TypedBufferAttribute( [param:Array array], [param:Integer itemSize], [param:Boolean normalized] )</h3>
<h3>TypedBufferAttribute( [param:Array_or_Integer array], [param:Integer itemSize], [param:Boolean normalized] )</h3>
<p>
array -- this can be a typed or untyped (normal) array. It will be converted to the Type specified.<br /><br />
array -- this can be a typed or untyped (normal) array or an integer length.
An array value will be converted to the Type specified.
If a length is given a new TypedArray will created, initialized with all elements set to zero.<br /><br />
itemSize -- the number of values of the array that should be associated with a particular vertex.<br /><br />
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册