提交 f73791e2 编写于 作者: L Lewy Blue 提交者: Mr.doob

Created doc for DirectGeometry (#10092)

* Created stub doc for DirectGeometry

* Updated description
上级 2ccb4d9e
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<base href="../../" />
<script src="list.js"></script>
<script src="page.js"></script>
<link type="text/css" rel="stylesheet" href="page.css" />
</head>
<body>
<h1>[name]</h1>
<div class="desc">This class is mainly used internally to convert from [page:Geometry] to [page:BufferGeometry].</div>
<h2>Constructor</h2>
<h3>[name]()</h3>
<div>
This creates a new [name].
</div>
<h2>Properties</h2>
<h3>[property:Integer id]</h3>
<div>
Unique number for this [name] instance.
</div>
<h3>[property:String name]</h3>
<div>
Optional name. Default is the empty string.
</div>
<h3>[property:Array type]</h3>
<div>
String 'DirectGeometry'.
</div>
<h3>[property:Array indices]</h3>
<div>
Default is empty array.
</div>
<h3>[property:Array vertices]</h3>
<div>
Default is empty array.
</div>
<h3>[property:Array normals]</h3>
<div>
Default is empty array.
</div>
<h3>[property:Array colors]</h3>
<div>
Default is empty array.
</div>
<h3>[property:Array uvs]</h3>
<div>
Default is empty array.
</div>
<h3>[property:Array uvs2]</h3>
<div>
Default is empty array.
</div>
<h3>[property:Array groups]</h3>
<div>
Default is empty array.
</div>
<h3>[property:Array morphTargets]</h3>
<div>
Default is empty array.
</div>
<h3>[property:Array skinWeights]</h3>
<div>
Default is empty array.
</div>
<h3>[property:Array skinIndices]</h3>
<div>
Default is empty array.
</div>
<h3>[property:Box boundingBox]</h3>
<div>
Default is null.
</div>
<h3>[property:Box boundingSphere]</h3>
<div>
Default is null.
</div>
<h3>[property:Boolean verticesNeedUpdate]</h3>
<div>
Default is false.
</div>
<h3>[property:Boolean normalsNeedUpdate]</h3>
<div>
Default is false.
</div>
<h3>[property:Boolean verticesNeedUpdate]</h3>
<div>
Default is false.
</div>
<h3>[property:Boolean colorsNeedUpdate]</h3>
<div>
Default is false.
</div>
<h3>[property:Boolean uvsNeedUpdate]</h3>
<div>
Default is false.
</div>
<h3>[property:Boolean groupsNeedUpdate]</h3>
<div>
Default is false.
</div>
<h2>Methods</h2>
<h3>[page:EventDispatcher EventDispatcher] methods are available on this class.</h3>
<h3>[property:null computeBoundingBox]( )</h3>
<div>
See [page:Geometry.computeBoundingBox].
</div>
<h3>[property:null computeBoundingSphere]( )</h3>
<div>
See [page:Geometry.computeBoundingSphere].
</div>
<h3>[property:null computeGroups]( page:Geometry geometry] )</h3>
<div>
</div>
<h3>[property:null fromGeometry]( page:Geometry geometry] )</h3>
<div>
</div>
<h3>[property:null dispose]( )</h3>
<div>
</div>
<h2>Source</h2>
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
</body>
</html>
......@@ -59,6 +59,7 @@ var list = {
[ "BufferAttribute", "api/core/BufferAttribute" ],
[ "BufferGeometry", "api/core/BufferGeometry" ],
[ "Clock", "api/core/Clock" ],
[ "DirectGeometry", "api/core/DirectGeometry" ],
[ "EventDispatcher", "api/core/EventDispatcher" ],
[ "Face3", "api/core/Face3" ],
[ "Geometry", "api/core/Geometry" ],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册