L.4.6.2.2 Camera
L.4.6.2.2 Camera
The complex type, CT_Camera, defines a camera within the 3-D scene. A camera is based on a preset, with an optional rotation, field-of-view, and zoom, which all act as overrides for the preset values. A camera is defined in the following way:
<xsd:complexType name="CT_Camera">
<xsd:sequence>
<xsd:element name="rot" type="CT_SphereCoords" minOccurs="0"
maxOccurs="1" oxsd:dataStructure="optional" />
</xsd:sequence>
<xsd:attribute name="prst" type="ST_PresetCameraType" use="required"
/>
<xsd:attribute name="fov" type="ST_FOVAngle" use="optional" />
<xsd:attribute name="zoom" type="ST_PositivePercentage"
use="optional" default="100%" />
</xsd:complexType>
The only complex type contained in the camera, CT_SphereCoords, is a complex type defined elsewhere within the DrawingML. There are three simple types associated with a camera:
Figure 1 below shows some different presets applied to a shape.
Figure 7: Different default cameras applied to a shape
The available options for ST_PresetCameraType are as follows:
Last updated on