fixed: auto_ptr -> unique_ptr
[opensg.git] / Source / System / Material / Base / OSGSwitchMaterial.fcd
blobe8ab17f7c41d54a8481a776b69a509b1ff458881
1 <?xml version="1.0"?>
3 <FieldContainer
4 name="SwitchMaterial"
5 parent="CompositeMaterial"
6 library="System"
7 pointerfieldtypes="both"
8 structure="concrete"
9 systemcomponent="true"
10 parentsystemcomponent="true"
11 decoratable="false"
12 useLocalIncludes="false"
13 docGroupBase="GrpSystemMaterial"
15 Material that allows selection of one of the materials in the _mfMaterials
16 field based on the value of the _sfChoice field.
17 <Field
18 name="materials"
19 type="MaterialPtr"
20 cardinality="multi"
21 visibility="external"
22 access="public"
24 Materials to choose from.
25 </Field>
26 <Field
27 name="choice"
28 type="UInt32"
29 cardinality="single"
30 visibility="external"
31 access="public"
33 The material to actually use for drawing.
34 </Field>
35 </FieldContainer>