提交 fec555a6 编写于 作者: A aardgoose 提交者: Mr.doob

more white space and method tags (#9018)

white space and a few method tags
上级 a82f6bb7
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta charset="utf-8" />
<base href="../../" />
<script src="list.js"></script>
<script src="page.js"></script>
......@@ -16,7 +16,7 @@
<h2>Methods</h2>
<h3>[method:Object3D createMultiMaterialObject]([page:Geometry geometry], [page:Array materials])</h3>
<h3>[method:Object3D createMultiMaterialObject]( [page:Geometry geometry], [page:Array materials] )</h3>
<div>
geometry -- The geometry for the Object. <br />
materials -- The materials for the object.
......@@ -26,7 +26,7 @@
This is mostly useful for object that need a material and a wireframe implementation.
</div>
<h3>[method:null attach]([page:Object3D child], [page:Object3D scene], [page:Object3D parent])</h3>
<h3>[method:null attach]( [page:Object3D child], [page:Object3D scene], [page:Object3D parent] )</h3>
<div>
child -- The object to add to the parent <br />
scene -- The scene to detach the object on. <br />
......@@ -36,7 +36,7 @@
Attaches the object to the parent without the moving the object in the worldspace. Beware that to do this the matrixWorld needs to be updated, this can be done by calling the updateMatrixWorld method on the parent object.
</div>
<h3>[method:null detach]([page:Object3D child], [page:Object3D parent], [page:Object3D scene])</h3>
<h3>[method:null detach]( [page:Object3D child], [page:Object3D parent], [page:Object3D scene] )</h3>
<div>
child -- The object to remove from the parent <br />
scene -- The scene to attach the object on. <br />
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta charset="utf-8" />
<base href="../../../" />
<script src="list.js"></script>
<script src="page.js"></script>
......@@ -48,7 +48,7 @@
<h2>Methods</h2>
<h3>[method:Array getWrapPoints]([page:Array vertices], [page:Curve curve])</h3>
<h3>[method:Array getWrapPoints]( [page:Array vertices], [page:Curve curve] )</h3>
<div>
vertices -- An array of [page:Vector2]s to modify<br />
curve -- An array of 2d [page:Curve]s
......@@ -59,7 +59,7 @@
modification.
</div>
<h3>[method:null addWrapPath]([page:Curve curve])</h3>
<h3>[method:null addWrapPath]( [page:Curve curve] )</h3>
<div>
curve -- A [page:Curve] or object with a similar interface.
</div>
......@@ -67,7 +67,7 @@
Pushes a curve onto the bends array.
</div>
<h3>[method:Geometry createGeometry]([page:Vector3 points])</h3>
<h3>[method:Geometry createGeometry]( [page:Vector3 points] )</h3>
<div>
points -- An array of [page:Vector3]s
</div>
......@@ -75,7 +75,7 @@
Creates a geometry from points
</div>
<h3>[method:Geometry createPointsGeometry]([page:Integer divisions])</h3>
<h3>[method:Geometry createPointsGeometry]( [page:Integer divisions] )</h3>
<div>
divisions -- How many segments to create with [page:Vector3]s. Defaults to 12.
</div>
......@@ -83,7 +83,7 @@
Creates a [page:Geometry] object comprised of [page:Vector3]s
</div>
<h3>[method:Geometry createSpacedPointsGeometry]([page:Integer divisions])</h3>
<h3>[method:Geometry createSpacedPointsGeometry]( [page:Integer divisions] )</h3>
<div>
divisions -- How many segments to create with [page:Vector3]s. Defaults to 12.
</div>
......@@ -92,7 +92,7 @@
</div>
<h3>[method:null add]([page:Curve curve])</h3>
<h3>[method:null add]( [page:Curve curve] )</h3>
<div>
curve -- The [page:Curve curve] to add
</div>
......@@ -115,7 +115,7 @@
Adds together the length of the curves
</div>
<h3>[method:Array getTransformedPoints]([page:Integer segments], [page:Array bends])</h3>
<h3>[method:Array getTransformedPoints]( [page:Integer segments], [page:Array bends] )</h3>
<div>
segments -- The number of segments to create using the getPoints()<br />
bends -- (optional) An array of [page:Curve]s used to transform the points. Defaults to this.bends if blank.
......@@ -125,7 +125,7 @@
array of [page:Vector2]s.
</div>
<h3>[method:Array getTransformedSpacedPoints]([page:Integer segments], [page:Array bends])</h3>
<h3>[method:Array getTransformedSpacedPoints]( [page:Integer segments], [page:Array bends] )</h3>
<div>
segments -- The number of segments to create using the getPoints()<br />
bends -- (optional) Defaults to this.bends if blank. An array of [page:Curve]s used to transform the points.
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta charset="utf-8" />
<base href="../../../" />
<script src="list.js"></script>
<script src="page.js"></script>
......@@ -21,7 +21,7 @@
<h2>Constructor</h2>
<h3>[name]([page:Array points])</h3>
<h3>[name]( [page:Array points] )</h3>
<div>
points -- array of Vector2
</div>
......
......@@ -62,7 +62,7 @@
<h2>Methods</h2>
<h3>[method:ShapeGeometry makeGeometry]([page:Object options])</h3>
<h3>[method:ShapeGeometry makeGeometry]( [page:Object options] )</h3>
<div>
options -- This is passed as the second argument to [page:ShapeGeometry ShapeGeometry]
</div>
......@@ -70,7 +70,7 @@
Convenience method to return ShapeGeometry
</div>
<h3>[method:Array extractAllPoints]([page:Integer divisions])</h3>
<h3>[method:Array extractAllPoints]( [page:Integer divisions] )</h3>
<div>
divisions -- The number of divisions to create on the shape
</div>
......@@ -78,7 +78,7 @@
Get points of shape and holes (keypoints based on segments parameter)
</div>
<h3>[method:ExtrudeGeometry extrude]([page:Object options])</h3>
<h3>[method:ExtrudeGeometry extrude]( [page:Object options] )</h3>
<div>
options -- This is passed as the second argument to [page:ExtrudeGeometry ExtrudeGeometry]
</div>
......@@ -86,7 +86,7 @@
Convenience method to return ExtrudeGeometry
</div>
<h3>[method:Object extractPoints]([page:Integer divisions])</h3>
<h3>[method:Object extractPoints]( [page:Integer divisions] )</h3>
<div>
divisions -- The number of divisions to create on the shape
</div>
......@@ -94,7 +94,7 @@
Returns an object with a *shape* and *holes* property that each reference an array of [page:Vector2 Vector2s].
</div>
<h3>[method:Object extractAllSpacedPoints]([page:Integer divisions])</h3>
<h3>[method:Object extractAllSpacedPoints]( [page:Integer divisions] )</h3>
<div>
divisions -- The number of divisions to create on the shape
</div>
......@@ -103,7 +103,7 @@
points will all be equally spaced along the shape.
</div>
<h3>[method:Array getPointsHoles]([page:Integer divisions])</h3>
<h3>[method:Array getPointsHoles]( [page:Integer divisions] )</h3>
<div>
divisions -- The number of divisions to create on the shape
</div>
......@@ -111,7 +111,7 @@
Get an array of [page Vector2 Vector2s] that represent the holes in the shape.
</div>
<h3>[method:Array getSpacedPointsHoles]([page:Integer divisions])</h3>
<h3>[method:Array getSpacedPointsHoles]( [page:Integer divisions] )</h3>
<div>
divisions -- The number of divisions to create on the shape
</div>
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta charset="utf-8" />
<base href="../../" />
<script src="list.js"></script>
<script src="page.js"></script>
......@@ -18,7 +18,7 @@
<h2>Constructor</h2>
<h3>[name]([page:Object parameters])</h3>
<h3>[name]( [page:Object parameters] )</h3>
<div>parameters is an object with one or more properties defining the material's appearance.</div>
<div>
color — Line color in hexadecimal. Default is 0xffffff.<br />
......
......@@ -150,7 +150,7 @@
<h3>[page:EventDispatcher EventDispatcher] methods are available on this class.</h3>
<h3>[method:Material clone]([page:material material])</h3>
<h3>[method:Material clone]( [page:material material] )</h3>
<div>
material -- this material gets the cloned information (optional).
</div>
......@@ -163,7 +163,7 @@
This disposes the material. Textures of a material don't get disposed. These needs to be disposed by [page:Texture Texture].
</div>
<h3>[method:null setValues]([page:object values])</h3>
<h3>[method:null setValues]( [page:object values] )</h3>
<div>
values -- a container with parameters.
</div>
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta charset="utf-8" />
<base href="../../" />
<script src="list.js"></script>
<script src="page.js"></script>
......@@ -19,7 +19,7 @@
<h2>Constructor</h2>
<h3>[name]([page:Object parameters])</h3>
<h3>[name]( [page:Object parameters] )</h3>
<div>
parameters is an object with one or more properties defining the material's appearance.
</div>
......
......@@ -19,7 +19,7 @@
<h2>Constructor</h2>
<h3>[name]([page:Object parameters])</h3>
<h3>[name]( [page:Object parameters] )</h3>
<div>
parameters -- parameters is an object with one or more properties defining the material's appearance.
</div>
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta charset="utf-8" />
<base href="../../" />
<script src="list.js"></script>
<script src="page.js"></script>
......@@ -20,7 +20,7 @@
<h2>Constructor</h2>
<h3>[name]([page:Object parameters])</h3>
<h3>[name]( [page:Object parameters] )</h3>
<div>
parameters is an object with one or more properties defining the material's appearance.
</div>
......
......@@ -19,7 +19,7 @@
<h2>Constructor</h2>
<h3>[name]([page:Object parameters])</h3>
<h3>[name]( [page:Object parameters] )</h3>
<div>
parameters -- an object with one or more of the material's properties defining the material's appearance.
</div>
......
......@@ -19,7 +19,7 @@
<h2>Constructor</h2>
<h3>[name]([page:Object parameters])</h3>
<h3>[name]( [page:Object parameters] )</h3>
<div>
parameters -- an object with one or more of the material's properties defining the material's appearance.
</div>
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta charset="utf-8" />
<base href="../../" />
<script src="list.js"></script>
<script src="page.js"></script>
......@@ -20,7 +20,7 @@
<h2>Constructor</h2>
<h3>[name]([page:Array materials])</h3>
<h3>[name]( [page:Array materials] )</h3>
<div>
materials -- The materials for the geometry.
</div>
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta charset="utf-8" />
<base href="../../" />
<script src="list.js"></script>
<script src="page.js"></script>
......@@ -30,7 +30,7 @@
<h2>Constructor</h2>
<h3>[name]([page:SkinnedMesh skin])</h3>
<h3>[name]( [page:SkinnedMesh skin] )</h3>
<div>
skin — (optional) The [page:SkinnedMesh] to which the bone belongs.
</div>
......@@ -44,7 +44,7 @@
<h2>Methods</h2>
<h3>[method:Object3D clone]([page:Object3D object])</h3>
<h3>[method:Object3D clone]( [page:Object3D object] )</h3>
<div>
object -- (optional) Object3D which needs to be cloned. If undefined, clone method will create a new cloned Bone Object.
</div>
......
......@@ -22,7 +22,7 @@
<h2>Constructor</h2>
<h3>[name]([page:Texture texture], [page:Float size], [page:Float distance], [page:Materials blending], [page:Color color])</h3>
<h3>[name]( [page:Texture texture], [page:Float size], [page:Float distance], [page:Materials blending], [page:Color color] )</h3>
<div>
texture -- THREE.Texture (optional) <br />
size -- size in pixels (-1 = use texture.width) <br />
......@@ -56,7 +56,7 @@
<h2>Methods</h2>
<h3>[method:null add]([page:Texture texture], [page:Float size], [page:Float distance], [page:Materials blending], [page:Color color])</h3>
<h3>[method:null add]( [page:Texture texture], [page:Float size], [page:Float distance], [page:Materials blending], [page:Color color] )</h3>
<div>
Adds a lens flare. See the constructor for details on the parameters.
</div>
......@@ -67,7 +67,7 @@
Updates the lens flare based on the [page:LensFlare.positionScreen positionScreen] property.
</div>
<h3>[method:Object3D clone]([page:Object3D object])</h3>
<h3>[method:Object3D clone]( [page:Object3D object] )</h3>
<div>
object -- (optional) Object3D which needs to be cloned. If undefined, clone method will create a new cloned LensFlare Object.
</div>
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta charset="utf-8" />
<base href="../../" />
<script src="list.js"></script>
<script src="page.js"></script>
......@@ -60,12 +60,12 @@
<h2>Methods</h2>
<h3>[method:Array raycast]([page:Raycaster raycaster], [page:Array intersects])</h3>
<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.
</div>
<h3>[method:Object3D clone]([page:Object3D object])</h3>
<h3>[method:Object3D clone]( [page:Object3D object] )</h3>
<div>
object -- (optional) Object3D which needs to be cloned. If undefined, clone method will create a new cloned Line Object.
</div>
......
......@@ -42,12 +42,12 @@
<h2>Methods</h2>
<h3>[method:Array raycast]([page:Raycaster raycaster], [page:Array intersects])</h3>
<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.
</div>
<h3>[method:Object3D clone]([page:Object3D object])</h3>
<h3>[method:Object3D clone]( [page:Object3D object] )</h3>
<div>
object -- (optional) Object3D which needs to be cloned. If undefined, clone method will create a new cloned LineSegments Object.
</div>
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta charset="utf-8" />
<base href="../../" />
<script src="list.js"></script>
<script src="page.js"></script>
......@@ -86,12 +86,12 @@
[page:Mesh.morphTargetBase morphTargetBase] properties.
</div>
<h3>[method:Array raycast]([page:Raycaster raycaster], [page:Array intersects])</h3>
<h3>[method:Array raycast]( [page:Raycaster raycaster], [page:Array intersects] )</h3>
<div>
Get intersections between a casted ray and this mesh. [page:Raycaster.intersectObject] will call this method.
</div>
<h3>[method:Object3D clone]([page:Object3D object])</h3>
<h3>[method:Object3D clone]( [page:Object3D object] )</h3>
<div>
object -- (optional) Object3D which needs to be cloned. If undefined, clone method will create a new cloned Mesh Object.
</div>
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta charset="utf-8" />
<base href="../../" />
<script src="list.js"></script>
<script src="page.js"></script>
......@@ -45,7 +45,7 @@
<h2>Constructor</h2>
<h3>[name]([page:Geometry geometry], [page:Material material])</h3>
<h3>[name]( [page:Geometry geometry], [page:Material material] )</h3>
<div>
geometry — An instance of [page:Geometry].<br />
material — An instance of [page:Material] (optional).
......@@ -119,7 +119,7 @@
Set the animation to play backwards.
</div>
<h3>[method:null playAnimation]([page:String label], [page:Float fps])</h3>
<h3>[method:null playAnimation]( [page:String label], [page:Float fps] )</h3>
<div>
label -- The label of the animation <br />
fps -- The frames per second (in seconds)
......@@ -128,7 +128,7 @@
Starts playing a labeled animation. Animations are defined by calling [page:MorphAnimMesh.parseAnimations parseAnimations].
</div>
<h3>[method:null setFrameRange]([page:Integer start], [page:Integer end])</h3>
<h3>[method:null setFrameRange]( [page:Integer start], [page:Integer end] )</h3>
<div>
start -- The starting frame (morph) index <br />
end -- The ending frame (morph) index
......@@ -148,7 +148,7 @@
a start and end property that represents the frame index.
</div>
<h3>[method:null updateAnimation]([page:Float delta])</h3>
<h3>[method:null updateAnimation]( [page:Float delta] )</h3>
<div>
delta -- The change in time in milliseconds
</div>
......@@ -156,7 +156,7 @@
Update the morphTargetInfluences array on the MorphAnimMesh.
</div>
<h3>[method:null setAnimationLabel]([page:String label], [page:Integer start], [page:Integer end])</h3>
<h3>[method:null setAnimationLabel]( [page:String label], [page:Integer start], [page:Integer end] )</h3>
<div>
label -- The name of the animation <br />
start -- The starting frame index <br />
......@@ -166,7 +166,7 @@
Defines an animation. Sets the geometry.animations[label] to be an object with the start and end properties.
</div>
<h3>[method:Object3D clone]([page:Object3D object])</h3>
<h3>[method:Object3D clone]( [page:Object3D object] )</h3>
<div>
object -- (optional) Object3D which needs to be cloned. If undefined, clone method will create a new cloned MorphAnimMesh Object.
</div>
......
......@@ -43,12 +43,12 @@
This creates a clone of the particle system.
</div>
<h3>[method:Array raycast]([page:Raycaster raycaster], [page:Array intersects])</h3>
<h3>[method:Array raycast]( [page:Raycaster raycaster], [page:Array intersects] )</h3>
<div>
Get intersections between a casted ray and this Points. [page:Raycaster.intersectObject] will call this method.
</div>
<h3>[method:Object3D clone]([page:Object3D object])</h3>
<h3>[method:Object3D clone]( [page:Object3D object] )</h3>
<div>
object -- (optional) Object3D which needs to be cloned. If undefined, clone method will create a new cloned Points Object.
</div>
......
......@@ -53,7 +53,7 @@
<h2>Constructor</h2>
<h3>[name]([page:Geometry geometry], [page:Material material], [page:boolean useVertexTexture])</h3>
<h3>[name]( [page:Geometry geometry], [page:Material material], [page:boolean useVertexTexture] )</h3>
<div>
geometry — An instance of [page:Geometry]. [page:Geometry.skinIndices] and [page:Geometry.skinWeights] should be set.<br />
material — An instance of [page:Material] (optional).<br />
......@@ -102,7 +102,7 @@
<h2>Methods</h2>
<h3>[method:null bind]([page:Skeleton skeleton], [page:Matrix4 bindMatrix])</h3>
<h3>[method:null bind]( [page:Skeleton skeleton], [page:Matrix4 bindMatrix] )</h3>
<div>
skeleton — [page:Skeleton]<br/>
bindMatrix — [page:Matrix4] that represents the base transform of the skeleton
......@@ -122,7 +122,7 @@
This method sets the skinned mesh in the rest pose.
</div>
<h3>[method:Bone addBone]([page:Bone bone])</h3>
<h3>[method:Bone addBone]( [page:Bone bone] )</h3>
<div>
bone — This is the bone that needs to be added. (optional)
</div>
......@@ -130,7 +130,7 @@
This method adds the bone to the skinned mesh when it is provided. It creates a new bone and adds that when no bone is given.
</div>
<h3>[method:Object3D clone]([page:Object3D object])</h3>
<h3>[method:Object3D clone]( [page:Object3D object] )</h3>
<div>
object -- (optional) Object3D which needs to be cloned. If undefined, clone method will create a new cloned SkinnedMesh Object.
</div>
......
......@@ -26,7 +26,7 @@
<h2>Constructor</h2>
<h3>[name]([page:Material material])</h3>
<h3>[name]( [page:Material material] )</h3>
<div>
material — An instance of [page:Material] (optional).
</div>
......@@ -49,7 +49,7 @@
This creates a new clone of the sprite.
</div>
<h3>[method:Object3D clone]([page:Object3D object])</h3>
<h3>[method:Object3D clone]( [page:Object3D object] )</h3>
<div>
object -- (optional) Object3D which needs to be cloned. If undefined, clone method will create a new cloned Sprite Object.
</div>
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta charset="utf-8" />
<base href="../../../../" />
<script src="list.js"></script>
<script src="page.js"></script>
......@@ -23,7 +23,7 @@
<h2>Methods</h2>
<h3>[method:null render]([page:Scene scene], [page:Camera camera], [page:Number viewportWidth], [page:Number viewportHeight])</h3>
<h3>[method:null render]( [page:Scene scene], [page:Camera camera], [page:Number viewportWidth], [page:Number viewportHeight] )</h3>
<div>
scene -- The scene to render. <br />
camera -- The camera to render. <br />
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta charset="utf-8" />
<base href="../../../../" />
<script src="list.js"></script>
<script src="page.js"></script>
......@@ -23,7 +23,7 @@
<h2>Methods</h2>
<h3>[method:null render]([page:Scene scene], [page:Camera camera])</h3>
<h3>[method:null render]( [page:Scene scene], [page:Camera camera] )</h3>
<div>
scene -- The scene to render. <br />
camera -- The camera to render.
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta charset="utf-8" />
<base href="../../" />
<script src="list.js"></script>
<script src="page.js"></script>
......@@ -16,7 +16,7 @@
<h2>Constructor</h2>
<h3>[name]( [page:Integer hex], [page:Float density])</h3>
<h3>[name]( [page:Integer hex], [page:Float density] )</h3>
<div>The hex parameter is passed to the [page:Color] constructor to set the color property. Hex can be a hexadecimal integer or a CSS-style string.</div>
<h2>Properties</h2>
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta charset="utf-8" />
<base href="../../" />
<script src="list.js"></script>
<script src="page.js"></script>
......@@ -20,7 +20,7 @@
<h2>Constructor</h2>
<h3>[name]([page:Array mipmaps], [page:Number width], [page:Number height], [page:Number format], [page:Number type], [page:Number mapping], [page:Number wrapS], [page:Number wrapT], [page:Number magFilter], [page:Number minFilter], [page:Number anisotropy])</h3>
<h3>[name]( [page:Array mipmaps], [page:Number width], [page:Number height], [page:Number format], [page:Number type], [page:Number mapping], [page:Number wrapS], [page:Number wrapT], [page:Number magFilter], [page:Number minFilter], [page:Number anisotropy] )</h3>
<div>
mipmaps -- The mipmaps array should contains objects with data, width and height. The mipmaps should be from of the correct format and type. <br />
width -- The width of the biggest mipmap<br />
......
......@@ -143,12 +143,12 @@
<h3>[page:EventDispatcher EventDispatcher] methods are available on this class.</h3>
<h3>.clone([page:Texture texture])</h3>
<h3>[method:Material clone]( [page:Texture texture] )</h3>
<div>
Make copy of texture. Note this is not a "deep copy", the image is shared.
</div>
<h3>.dispose()</h3>
<h3>[method:null dispose]()</h3>
<div>
Call [page:EventDispatcher EventDispatcher].dispatchEvent with a 'dispose' event type.
</div>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册