light_diffuse

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
index gl_max_lights_index_type required
param xs:NCName optional
value float4_type 0 0 0 0 optional

Source

<xs:element name="light_diffuse">
  <xs:complexType>
    <xs:attribute name="value" type="float4_type" use="optional" default="0 0 0 0"/>
    <xs:attribute name="param" type="xs:NCName" use="optional"/>
    <xs:attribute name="index" type="gl_max_lights_index_type" use="required"/>
  </xs:complexType>
</xs:element>

Sample

< phong xmlns = "http://www.collada.org/2008/03/COLLADASchema" >

< emission>

< color>

1.0 1.0 1.0 1.0

</ color>

</ emission>

< ambient>

< color>

1.0 1.0 1.0 1.0

</ color>

</ ambient>

< diffuse>

< color>

1.0 1.0 1.0 1.0

</ color>

</ diffuse>

< specular>

< color>

1.0 1.0 1.0 1.0

</ color>

</ specular>

< shininess>

< float>

20.0

</ float>

</ shininess>

< reflective>

< color>

1.0 1.0 1.0 1.0

</ color>

</ reflective>