changed: gcc8 base update
[opensg.git] / Source / System / Window / Background / OSGGradientBackground.fcd
blob43680c1823a9ecdee86abb56500aea2ed3109137
1 <?xml version="1.0"?>
3 <FieldContainer
4 name="GradientBackground"
5 parent="TileableBackground"
6 library="Window"
7 pointerfieldtypes="multi"
8 structure="concrete"
9 systemcomponent="true"
10 parentsystemcomponent="true"
11 decoratable="false"
12 docGroupBase="GrpWindowBackground"
14 A background showing a color gradient. The colors and positions correspond to
15 each other, so both have to have the same number of elements.
16 The style field (_sfStyle) selects the kind of gradient being
17 drawn (HORIZONTAL, VERTICAL).
18 <Field
19 name="color"
20 type="Color3f"
21 cardinality="multi"
22 visibility="external"
23 access="protected"
25 The colors of the gradient.
26 </Field>
27 <Field
28 name="position"
29 type="Real32"
30 cardinality="multi"
31 visibility="external"
32 access="protected"
34 The positions of the gradient.
35 </Field>
36 <Field
37 name="normPosition"
38 type="bool"
39 cardinality="single"
40 visibility="external"
41 defaultValue="true"
42 access="protected"
44 If true the values of the position field must be normed coordinates in the
45 range [0,1], otherwise they must be pixel coordinates.
46 </Field>
47 <Field
48 name="style"
49 type="UInt32"
50 cardinality="single"
51 visibility="external"
52 defaultValue="GradientBackground::VERTICAL"
53 access="public"
55 Gradient style. Allowed values are VERTICAL and HORIZONTAL.
56 </Field>
57 </FieldContainer>