material_ambient

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
param xs:NCName optional
value float4_type 0.2 0.2 0.2 1.0 optional

Source

<xs:element name="material_ambient">
  <xs:complexType>
    <xs:attribute name="value" type="float4_type" use="optional" default="0.2 0.2 0.2 1.0"/>
    <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>