Imageset.xsd
上传用户:xhbjoy
上传日期:2014-10-07
资源大小:38068k
文件大小:1k
源码类别:

游戏引擎

开发平台:

Visual C++

  1. <?xml version="1.0"?>
  2. <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
  3. <xsd:element name="Imageset" type="ImagesetType"/>
  4. <xsd:complexType name="ImagesetType">
  5. <xsd:sequence>
  6. <xsd:element name="Image" type="ImageType" maxOccurs="unbounded"/>
  7. </xsd:sequence>
  8. <xsd:attribute name="Imagefile" type="xsd:string" use="required"/>
  9. <xsd:attribute name="ResourceGroup" type="xsd:string" use="optional"  default="" />
  10. <xsd:attribute name="Name" type="xsd:string" use="required"/>
  11. <xsd:attribute name="NativeHorzRes" type="xsd:nonNegativeInteger" use="optional" default="640" />
  12. <xsd:attribute name="NativeVertRes" type="xsd:nonNegativeInteger" use="optional" default="480" />
  13. <xsd:attribute name="AutoScaled" type="xsd:boolean" use="optional" default="false" />
  14. </xsd:complexType>
  15. <xsd:complexType name="ImageType">
  16. <xsd:attribute name="Name" type="xsd:string" use="required"/>
  17. <xsd:attribute name="XPos" type="xsd:nonNegativeInteger" use="required"/>
  18. <xsd:attribute name="YPos" type="xsd:nonNegativeInteger" use="required"/>
  19. <xsd:attribute name="Width" type="xsd:nonNegativeInteger" use="required"/>
  20. <xsd:attribute name="Height" type="xsd:nonNegativeInteger" use="required"/>
  21. <xsd:attribute name="XOffset" type="xsd:integer" use="optional" default="0"/>
  22. <xsd:attribute name="YOffset" type="xsd:integer" use="optional" default="0"/>
  23. </xsd:complexType>
  24. </xsd:schema>