<lightscenes> 元素
<lightscenes> 元素定义了Creo Illustrate “光照设置”(Lighting Setup) 列表中的所有光照设置。包含一个或多个子 <lightscene> 元素。<lightscenes> 元素没有属性。一个 XML 文件中只能包含一个 <lightscenes> 元素。
<lightscenes> 语法
<lightscenes>
<lightscene />
<lightscene />

<lightscene />
</lightscenes>
<lightscenes> 子元素
<lightscene>
光照设置元素。包含光照设置的属性。(请参阅<lightscene> 元素。)
<lightscenes> 示例
以下 <lightscenes> 元素在“光照设置”(Lighting Setup) 列表中创建两种光照设置:
DEFSingle - 具有一个主光源以及预定义本地化名称的单光源设置。
TwoLights - 具有一个主光源和辅助光源以及自定义非本地化名称的双光源设置。
<lightscenes>
<lightscene>
<name locid="DEFSingle"/>
<light name="key" type="direct" relative="view" />
<color />
<direction />
</lightscene>
<lightscene>
<name>TwoLights</name>
<light name="key" type="direct" relative="view" />
<color />
<direction />
<light name="fill" type="direct" relative="view" />
<color />
<direction />
</lightscene>
</lightscenes>
这对您有帮助吗?