浏览代码

Created doc for DirectGeometry (#10092)

* Created stub doc for DirectGeometry

* Updated description
Lewy Blue 8 年之前
父节点
当前提交
f73791e2f9
共有 2 个文件被更改,包括 166 次插入0 次删除
  1. 165 0
      docs/api/core/DirectGeometry.html
  2. 1 0
      docs/list.js

+ 165 - 0
docs/api/core/DirectGeometry.html

@@ -0,0 +1,165 @@
+<!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>

+ 1 - 0
docs/list.js

@@ -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" ],