
<?xml version='1.0' encoding='utf-8'?>
<templates>
	<using package='maya'/>
	<template name='LEapiDirectionalLightShape'>
		<!-- 
		Declaration of the attributes that should be visible for this light type in the Light Editor.
		-->
		<attribute name='color' type='maya.float3'>
			<label>Color</label>
		</attribute>
		<attribute name='intensity' type='maya.float'>
			<label>Intensity</label>
		</attribute>
		<attribute name='emitDiffuse' type='maya.bool'>
			<label>Emit Diffuse</label>
		</attribute>
		<attribute name='emitSpecular' type='maya.bool'>
			<label>Emit Specular</label>
		</attribute>
		<attribute name='useDepthMapShadows' type='maya.bool'>
			<label>Shadows</label>
		</attribute>
		<attribute name='useRayTraceShadows' type='maya.bool'>
			<label>RT Shadows</label>
		</attribute>
		<attribute name='dmapResolution' type='maya.long'>
			<label>Shadow Resolution</label>
		</attribute>
		<attribute name='shadowColor' type='maya.float3'>
			<label>Shadow Color</label>
		</attribute>
		<!-- 
		Attributes below are used to specify construction data to the Light Editor.
		They are not existing node attributes.
		-->
		<!-- Custom icon bitmap to be used for button in Light Editor -->
		<attribute name='LEicon' type='maya.string'>
			<description language="cb">:/LM_directionalLight.png</description>
		</attribute>
	</template>
	<view name='LEDefault' template='LEapiDirectionalLightShape'>
		<!-- 
		The template view used by the Light Editor.
		Should list all the attributes above, including LEicon.
		Do not need a custom command as fallback command is good enough.
		-->
		<description>View used by Light Editor</description>
		<property name='color'/>
		<property name='intensity'/>
		<property name='emitDiffuse'/>
		<property name='emitSpecular'/>
		<property name='useDepthMapShadows'/>	
		<property name='useRayTraceShadows'/>
		<property name='dmapResolution'/>
		<property name='shadowColor'/>
		<property name='LEicon'/>
	</view>
</templates>
