@@ -39,23 +39,26 @@ A perspective camera is very similar to a camera in the real world: it has a
39
39
view angle such that more things in the world are visible further away from the
40
40
camera.
41
41
42
- In the following example, a ` <lume-perspective-camera> ` element is placed into
42
+ In the following example, a [ ` <lume-perspective-camera> ` ] ( ../../api/cameras/PerspectiveCamera ) element is placed into
43
43
the scene, and we can control several aspects of the camera like the field of
44
44
view (fov), position, and rotation.
45
45
46
46
All cameras start "inactive". When a manually-created camera is not ` active `
47
47
(i.e. it does not have an ` active ` attribute, or the attribute is set to
48
48
` active="false" ` , or the ` .active ` property is set to ` false ` ), then the scene
49
49
will use its internal default camera (see
50
- [ ` Scene#camera ` ] ( ../api/core/Scene#camera ) for info on the default camera). Once
50
+ [ ` Scene#camera ` ] ( ../../ api/core/Scene#camera ) for info on the default camera). Once
51
51
the perspective camera is active then the view will be displayed through the
52
52
lense of that camera, and we can manipulate that camera to control our view.
53
53
54
+ See the [ ` PerspectiveCamera ` ] ( ../../api/cameras/PerspectiveCamera ) class for details on all of its
55
+ attributes and properties.
56
+
54
57
<live-code id =" cameraExample " ></live-code >
55
58
56
59
# Camera Rig
57
60
58
- The [ ` <lume-camera-rig> ` ] ( ../api/cameras/CameraRig ) element is similar to a
61
+ The [ ` <lume-camera-rig> ` ] ( ../../ api/cameras/CameraRig ) element is similar to a
59
62
real-life camera rig that holds a camera making it easy to move the camera in space using controls for rotating
60
63
the camera around or moving the camera closer or further to or from a focus point.
61
64
@@ -69,5 +72,5 @@ local origin, and scroll or pinch with fingers to zoom:
69
72
rigExample .content = cameraRigExample
70
73
</script >
71
74
72
- See the [ ` CameraRig ` ] ( ../api/cameras/CameraRig ) class for details on all of its
75
+ See the [ ` CameraRig ` ] ( ../../ api/cameras/CameraRig ) class for details on all of its
73
76
attributes and properties.
0 commit comments