<lightscene> 요소
<lightscene> 요소는 <lightscenes> 요소의 하위 항목입니다. 각 <lightscene> 요소는 하나 이상의 조명(<light> 요소)이 포함된 단일 조명 설정의 등록 정보를 인코딩합니다.
<lightscene> 요소의 <name> 요소에는 고유 이름이 정의되어 있습니다. <name> 요소에는 번역된 선택적 미리 정의된 조명 설정 이름이나 사용자 정의 이름이 포함될 수 있습니다.
<lightscenes> 요소에는 속성이 없습니다.
<lightscene> 구문
예: 미리 정의된 번역된 이름이 있는 조명 설정
<!-- Lighting setup with a predefined localized name -->
<lightscene>
<name locid="DEFlocName"/>
<light />
<light />

<light />
</lightscene>
예: 번역되지 않은 사용자 정의 이름이 있는 조명 설정
<!-- Lighting setup with a custom non-localized name -->
<lightscene>
<name>Lighting Setup Name</name>
<light />
<light />

<light />
</lightscene>
<lightscene> 하위 요소
<name>
(혼합) 조명 설정 목록에 표시되는 조명 설정 이름을 지정합니다. <name> 요소를 참조하십시오.
<light>
조명 설정에서 단일 조명의 유형, 색 및 설명을 정의합니다. <lightscene> 요소에는 <light> 요소가 하나 이상 포함됩니다. <light> 요소를 참조하십시오.
<lightscene> 예제
이 예제에서는 <lightscene> 요소에 인코딩된 사전 정의 조명 설정 DEFTwoLights를 보여줍니다.
<lightscene>
<name locid="DEFTwoLights"/>
<light name="key" type="direct" relative="view">
<color ambient="#141414" diffuse="#BEBEBE" specular="#CCCCCC"/>
<direction x="-60.00" y="15.00" z="5.00"/>
</light>
<light name="fill" type="direct" relative="view">
<color ambient="#050505" diffuse="#969696" specular="#AFAFAF"/>
<direction x="10.00" y="60.00" z="0.00"/>
</light>
</lightscene>
도움이 되셨나요?