material_specular

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
param xs:NCName optional
value float4_type 0 0 0 1 optional

Source

<xs:element name="material_specular">
  <xs:complexType>
    <xs:attribute name="value" type="float4_type" use="optional" default="0 0 0 1"/>
    <xs:attribute name="param" type="xs:NCName" use="optional"/>
  </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>

< reflectivity>

< float>

0.5

</ float>

</ reflectivity>