fixed: auto_ptr -> unique_ptr
[opensg.git] / Source / System / Window / Base / OSGPerspectiveCamera.fcd
blob4f09e84df97726f92b7d86c8826bf571ce0c5503
1 <?xml version="1.0" ?>
3 <FieldContainer
4 name="PerspectiveCamera"
5 parent="Camera"
6 library="System"
7 structure="concrete"
8 pointerfieldtypes="both"
9 systemcomponent="true"
10 parentsystemcomponent="true"
11 docGroupBase="GrpSystemWindow"
14 The Perspective Camera class, see \ref PageSystemWindowCameraPerspective for
15 a description.
17 The only new parameter is the _sfFov.
18 <Field
19 name="fov"
20 type="Real32"
21 cardinality="single"
22 visibility="external"
24 The vertical field of view, in radians.
25 </Field>
26 <Field
27 name="fovMode"
28 type="UInt32"
29 cardinality="single"
30 visibility="external"
31 defaultValue="0"
32 access="public"
34 Defines whether the field of view is measured vertically, horizontally or
35 in the smaller direction. See OSG::PerspectiveCamera::FovMode enum for
36 the actual values,
37 </Field>
38 <Field
39 name="aspect"
40 type="Real32"
41 cardinality="single"
42 visibility="external"
43 defaultValue="1"
45 The aspect ratio (i.e. width / height) of a pixel.
46 </Field>
47 </FieldContainer>