Bladeren bron

Updated Line doc

Lewy Blue 8 jaren geleden
bovenliggende
commit
a00e306183
1 gewijzigde bestanden met toevoegingen van 13 en 8 verwijderingen
  1. 13 8
      docs/api/objects/Line.html

+ 13 - 8
docs/api/objects/Line.html

@@ -38,8 +38,8 @@
 		<h3>[name]( [page:Geometry geometry], [page:Material material] )</h3>
 
 		<div>
-		geometry — Vertices representing the line segment(s).<br />
-		material — Material for the line. Default is [page:LineBasicMaterial LineBasicMaterial].<br />
+		[page:Geometry geometry] — vertices representing the line segment(s). Default is a new [page:new BufferGeometry].<br />
+		[page:Material material] — material for the line. Default is a new [page:LineBasicMaterial] with random color.<br />
 		</div>
 
 		<div>If no material is supplied, a randomized line material will be created and assigned to the object.</div>
@@ -48,15 +48,19 @@
 		<h2>Properties</h2>
 		<div>See the base [page:Object3D] class for common properties.</div>
 
-		<h3>[property:Geometry geometry]</h3>
+		<h3>[property:Boolean isLine]</h3>
 		<div>
-		Vertices representing the line segment(s).
+			Used to check whether this or derived classes are lines. Default is *true*.<br /><br />
+
+			You should not change this, as it used internally for optimisation.
 		</div>
 
+
+		<h3>[property:Geometry geometry]</h3>
+		<div>Vertices representing the line segment(s).</div>
+
 		<h3>[property:Material material]</h3>
-		<div>
-		Material for the line.
-		</div>
+		<div>Material for the line.</div>
 
 
 		<h2>Methods</h2>
@@ -64,7 +68,8 @@
 
 		<h3>[method:Array raycast]( [page:Raycaster raycaster], [page:Array intersects] )</h3>
 		<div>
-		Get intersections between a casted ray and this Line. [page:Raycaster.intersectObject] will call this method.
+		Get intersections between a casted [page:Ray] and this Line.
+		[page:Raycaster.intersectObject] will call this method.
 		</div>
 
 		<h3>[method:Line clone]()</h3>