1
1
<!DOCTYPE html>
2
2
< html lang ="en ">
3
3
< head >
4
- < meta charset ="utf-8 " />
4
+ < meta charset ="utf-8 " />
5
5
< base href ="../../ " />
6
6
< script src ="list.js "> </ script >
7
7
< script src ="page.js "> </ script >
@@ -45,16 +45,23 @@ <h2>Properties</h2>
45
45
46
46
47
47
48
- < h3 > [property:array objects ]</ h3 >
48
+ < h3 > [property:array levels ]</ h3 >
49
49
< div >
50
- An array of [page:Object3D Object3Ds]
50
+ An array of [page:object level] objects
51
+ </ div >
52
+ < div >
53
+ level is an object with two properties.
54
+ </ div >
55
+ < div >
56
+ distance -- The distance at which to display this level of detail< br />
57
+ object -- The Object3D which will be displayed
51
58
</ div >
52
59
53
60
< h2 > Methods</ h2 >
54
61
55
62
56
63
57
- < h3 > [method:null addLevel]([page:Object3D mesh], [page:Float distance])</ h3 >
64
+ < h3 > [method:null addLevel]( [page:Object3D mesh], [page:Float distance] )</ h3 >
58
65
< div >
59
66
mesh -- The Object3D to display < br />
60
67
distance -- The distance at which to display this level of detail
@@ -64,20 +71,20 @@ <h3>[method:null addLevel]([page:Object3D mesh], [page:Float distance])</h3>
64
71
the lower the detail on the mesh.
65
72
</ div >
66
73
67
- < h3 > [method:Object3D getObjectForDistance]([page:Float distance])</ h3 >
74
+ < h3 > [method:Object3D getObjectForDistance]( [page:Float distance] )</ h3 >
68
75
< div >
69
76
Get a reference to the first [page:Object3D] (mesh) that is greater than supplied distance.
70
77
</ div >
71
78
72
- < h3 > [method:null update]([page:Camera camera])</ h3 >
79
+ < h3 > [method:null update]( [page:Camera camera] )</ h3 >
73
80
< div >
74
81
camera -- The current camera
75
82
</ div >
76
83
< div >
77
84
Update the visiblility of the level of detail based on the distance from the camera.
78
85
</ div >
79
86
80
- < h3 > [method:Object3D clone]([page:Object3D object])</ h3 >
87
+ < h3 > [method:Object3D clone]( [page:Object3D object] )</ h3 >
81
88
< div >
82
89
object -- (optional) Object3D which needs to be cloned. If undefined, clone method will create a new cloned LOD Object.
83
90
</ div >
0 commit comments