[Table of Contents] [docx version]
Error! No text of specified style in document.
This element defines the placement and properties of the camera in the 3D scene. The camera position and properties modify the view of the scene.
[Example: Consider the following example of a camera in DrawingML:
<a:camera prst="orthographicFront">
<a:rot lat="19902513" lon="17826689" rev="1362739"/>
</a:camera>
In this example, we see a preset camera being defined along with a rotation containing latitude, longitude, and revolution overrides provided that further rotate the camera around the scene. The effect of this camera can be seen on the following shape:
end example]
Parent Elements |
Child Elements |
Subclause |
rot (Rotation) |
§5.1.7.11 |
Attributes |
Description |
fov (Field of View) |
Provides an override for the default field of view for the camera. Different perspectives can be obtained by modifying this attribute.
[Example: Consider the following example of a fov in DrawingML:
<a:camera prst="perspectiveContrastingRightFacing"
In this example, we see a fov being defined which modifies the default fov for the preset camera. end example]
The possible values for this attribute are defined by the ST_FOVAngle simple type (§5.1.12.24). |
prst (Preset Camera Type) |
Defines the preset camera that is being used by the camera element. The preset camera defines a starting point for common preset rotations in space.
[Example: Consider the following example of a prst in DrawingML:
<a:camera prst="perspectiveContrastingRightFacing"
In this example, we see a prst being defined as perspectiveContrastingRightFacing. end example]
The possible values for this attribute are defined by the ST_PresetCameraType simple type (§5.1.12.47). |
zoom (Zoom) |
Defines the zoom factor of a given camera element. The zoom modifies the scene as a whole and zooms in or out accordingly.
[Example: Consider the following example of a zoom in DrawingML:
<a:camera prst="perspectiveContrastingRightFacing"
In this example, we see a zoom being used which will zoom the scene by 200%. end example]
The possible values for this attribute are defined by the ST_PositivePercentage simple type (§5.1.12.46). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_Camera">
<sequence>
<element name="rot" type="CT_SphereCoords" minOccurs="0" maxOccurs="1"/>
</sequence>
<attribute name="prst" type="ST_PresetCameraType" use="required"/>
<attribute name="fov" type="ST_FOVAngle" use="optional"/>
<attribute name="zoom" type="ST_PositivePercentage" use="optional" default="100000"/>
</complexType>