changed: gcc8 base update
[opensg.git] / Source / System / Window / Background / OSGPolygonBackground.fcd
blob19fecf0ed991884d7ac78523dc64c9a649f06465
1 <?xml version="1.0"?>
3 <FieldContainer
4 name="PolygonBackground"
5 parent="TileableBackground"
6 library="Window"
7 pointerfieldtypes="both"
8 structure="concrete"
9 systemcomponent="true"
10 parentsystemcomponent="true"
11 decoratable="false"
12 useLocalIncludes="false"
13 docGroupBase="GrpWindowBackground"
15 A Background that renders a single polygon using the specified material.
16 <Field
17 name="material"
18 type="PrimeMaterialPtr"
19 cardinality="single"
20 visibility="external"
21 access="public"
23 The material used to display.
24 </Field>
25 <Field
26 name="texCoords"
27 type="Vec3f"
28 cardinality="multi"
29 visibility="external"
30 access="public"
32 The texture coordinates of the geometry to display.
33 </Field>
34 <Field
35 name="positions"
36 type="Pnt2f"
37 cardinality="multi"
38 visibility="external"
39 access="public"
41 The positions of the geometry to display.
42 </Field>
43 <Field
44 name="normalizedX"
45 type="bool"
46 cardinality="single"
47 visibility="external"
48 defaultValue="true"
49 access="public"
51 Define whether the x coordinates are normalized (0-1) or pixel-based.
52 </Field>
53 <Field
54 name="normalizedY"
55 type="bool"
56 cardinality="single"
57 visibility="external"
58 defaultValue="true"
59 access="public"
61 Define whether the y coordinates are normalized (0-1) or pixel-based.
62 </Field>
63 <Field
64 name="aspectHeight"
65 type="UInt16"
66 cardinality="single"
67 visibility="external"
68 defaultValue="0"
69 access="public"
71 Useful for keeping aspect ratio when rendering things like images.
72 </Field>
73 <Field
74 name="aspectWidth"
75 type="UInt16"
76 cardinality="single"
77 visibility="external"
78 defaultValue="0"
79 access="public"
81 Useful for keeping aspect ratio when rendering things like images.
82 </Field>
83 <Field
84 name="scale"
85 type="Real32"
86 cardinality="single"
87 visibility="external"
88 defaultValue="1.0"
89 access="public"
91 Scale factor for zooming.
92 </Field>
93 <Field
94 name="cleanup"
95 type="bool"
96 cardinality="single"
97 visibility="external"
98 defaultValue="true"
99 access="public"
101 Clear depth/ stencil buffer after applying the material.
102 </Field>
103 </FieldContainer>