blob: 5063b75722ecc29812eb4be2225f2716267d76b0 [file] [log] [blame]
reed@android.com8a1c16f2008-12-17 15:59:43 +00001<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
2 xmlns:Sk="http://www.skia.com/schema/SkAnimateSchema.xsd"
3 targetNamespace="urn:skia3D" xmlns:Sk3D="urn:skia3D">
4
5 <xs:simpleType name="Patch" >
6 <xs:restriction base="xs:string" >
7 </xs:restriction>
8 </xs:simpleType>
9
10 <xs:simpleType name="Point" >
11 <xs:restriction base="xs:string" >
12 <xs:pattern value="[+-]?([0-9]*\.[0-9]+|[0-9]+\.?)( *[ ,] *[+-]?([0-9]*\.[0-9]+|[0-9]+\.?)){2}" />
13 </xs:restriction>
14 </xs:simpleType>
15
16 <xs:element name="camera">
17 <xs:complexType >
18 <xs:attribute name="axis" type="Sk3D:Point" />
19 <xs:attribute name="hackHeight" type="Sk:Float" />
20 <xs:attribute name="hackWidth" type="Sk:Float" />
21 <xs:attribute name="location" type="Sk3D:Point" />
22 <xs:attribute name="observer" type="Sk3D:Point" />
23 <xs:attribute name="patch" type="Sk3D:Patch" />
24 <xs:attribute name="zenith" type="Sk3D:Point" />
25 <xs:attribute name="id" type="xs:ID" />
26 </xs:complexType>
27 </xs:element>
28
29 <xs:element name="patch">
30 <xs:complexType >
31 <xs:attribute name="origin" type="Sk3D:Point" />
32 <xs:attribute name="rotateDegrees" type="Sk:MemberFunction" />
33 <xs:attribute name="u" type="Sk3D:Point" />
34 <xs:attribute name="v" type="Sk3D:Point" />
35 <xs:attribute name="id" type="xs:ID" />
36 </xs:complexType>
37 </xs:element>
38
39</xs:schema>