Creo Illustrate Installation and Configuration Guide > ライティング設定 XML ドキュメントスキーマ
ライティング設定 XML ドキュメントスキーマ
この章には、Creo Illustrate で使用するライティング設定 XML ドキュメントの XML スキーマがリストされています。
XML スキーマについて
下にリストする XML スキーマは、ライトシーン XML ドキュメントの次の特性を定義します。
ドキュメントに表示される要素および属性と、そのデータタイプおよび値
子要素である要素と子要素の順序および番号
要素が空か、テキストを含むか
Creo Illustrate でカスタマイズしたライトシーン XML ファイルを使用する場合、そのファイルはこのスキーマに従わなければなりません。
* 
ライトシーン XML ドキュメントの詳細については、ライティング設定のカスタマイズを参照してください。
XML スキーマリスト
<?xml version="1.0" encoding="utf-16"?>
<xsd:schema attributeFormDefault="unqualified" elementFormDefault="qualified" version="1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="lightscenes">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" name="lightscene">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="name">
<xsd:complexType>
<xsd:attribute name="locid" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="light">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="color">
<xsd:complexType>
<xsd:attribute name="ambient" type="xsd:string" />
<xsd:attribute name="diffuse" type="xsd:string" />
<xsd:attribute name="specular" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="direction">
<xsd:complexType>
<xsd:attribute name="x" type="xsd:decimal" />
<xsd:attribute name="y" type="xsd:decimal" />
<xsd:attribute name="z" type="xsd:decimal" />
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="relative" type="xsd:string" />
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>

これは役に立ちましたか?