浏览代码

Docs: Id definition clean up.

Mr.doob 10 年之前
父节点
当前提交
54ad57477f

+ 1 - 1
docs/api/core/BufferGeometry.html

@@ -111,7 +111,7 @@
 
 		<h3>.[page:Integer id]</h3>
 		<div>
-		Unique number of this buffergeometry instance
+		Unique number for this buffergeometry instance.
 		</div>
 		
 		<h3>.[page:Hashmap attributes]</h3>

+ 2 - 2
docs/api/core/Geometry.html

@@ -43,9 +43,9 @@
 
 		<h3>.[page:Integer id]</h3>
 		<div>
-		Unique number of this geometry instance
+		Unique number for this geometry instance.
 		</div>
-		
+
 		<h3>.[page:String name]</h3>
 		<div>
 		Name for this geometry. Default is an empty string.

+ 1 - 1
docs/api/core/Object3D.html

@@ -25,7 +25,7 @@
 
 		<h3>.[page:Integer id]</h3>
 		<div>
-		Identifier of this object instance.
+		Unique number for this object instance.
 		</div>
 
 		<h3>.[page:String uuid]</h3>

+ 1 - 1
docs/api/materials/Material.html

@@ -25,7 +25,7 @@
 
 		<h3>.[page:Integer id]</h3>
 		<div>
-		Unique number of this material instance.
+		Unique number for this material instance.
 		</div>
 
 		<h3>.[page:String name]</h3>

+ 5 - 4
docs/api/textures/Texture.html

@@ -28,6 +28,11 @@
 
 		<h2>Properties</h2>
 
+		<h3>.[page:Integer id]</h3>
+		<div>
+		Unique number for this texture instance.
+		</div>
+
 		<h3>.[page:Image image]</h3>
 		<div>
 		An Image object, typically created using the ImageUtils or [page:ImageLoader ImageLoader] classes. The Image object can include an image (e.g., PNG, JPG, GIF, DDS), video (e.g., MP4, OGG/OGV), or set of six images for a cube map. To use video as a texture you need to have a playing HTML5 video element as a source for your texture image and continuously update this texture as long as video is playing.
@@ -123,10 +128,6 @@
 		A callback function, called when the texture is updated (e.g., when needsUpdate has been set to true and then the texture is used).
 		</div>
 
-		<h3>.[page:number id]</h3>
-		<div>
-		An internal ID number, starting from 0; should not be modified. THREE.TextureIdCount is the number of textures created so far.
-		</div>
 
 		<h2>Methods</h2>