complexType MaterialType
diagram plmxml_diagrams/plmxml_p396.png
namespace http://www.plmxml.org/Schemas/PLMXMLSchema
type extension of plm:AttribOwnerBase
properties
base plm:AttribOwnerBase
children plm:Description plm:ApplicationRef plm:Attribute
used by
element Material
attributes
Name  Type  Use  Default  Fixed  Annotation
id  xsd:ID  optional      
name  xsd:string  optional      
nameRef  plm:anyURIType  optional      
descriptionTextRef  plm:anyURIType  optional      
attributeRefs  xsd:IDREFS  optional      
ambient  plm:RGBType  required      
diffuse  plm:RGBType  required      
specular  plm:RGBType    0.0 0.0 0.0    
emissive  plm:RGBType    0.0 0.0 0.0    
shininess  plm:ShininessType    0.0    
alpha  plm:AlphaType    1.0    
annotation
documentation

      Element representing a material type.
     
      Attributes:
     
      ambient:       ambient colour
      diffuse:       diffuse colour
      specular:      specular colour
      emissive:      emissive colour
      shininess:     shininess coefficient
      alpha:         alpha coefficient
     
source <xsd:complexType name="MaterialType">
 
<xsd:annotation>
   
<xsd:documentation>
      Element representing a material type.
     
      Attributes:
     
      ambient:       ambient colour
      diffuse:       diffuse colour
      specular:      specular colour
      emissive:      emissive colour
      shininess:     shininess coefficient
      alpha:         alpha coefficient
     
</xsd:documentation>
 
</xsd:annotation>
 
<xsd:complexContent>
   
<xsd:extension base="plm:AttribOwnerBase">
     
<xsd:attribute name="ambient" type="plm:RGBType" use="required"/>
     
<xsd:attribute name="diffuse" type="plm:RGBType" use="required"/>
     
<xsd:attribute name="specular" type="plm:RGBType" default="0.0 0.0 0.0"/>
     
<xsd:attribute name="emissive" type="plm:RGBType" default="0.0 0.0 0.0"/>
     
<xsd:attribute name="shininess" type="plm:ShininessType" default="0.0"/>
     
<xsd:attribute name="alpha" type="plm:AlphaType" default="1.0"/>
   
</xsd:extension>
 
</xsd:complexContent>
</xsd:complexType>

attribute MaterialType/@ambient
type plm:RGBType
properties
use required
facets
Kind Value Annotation
length 3
source <xsd:attribute name="ambient" type="plm:RGBType" use="required"/>

attribute MaterialType/@diffuse
type plm:RGBType
properties
use required
facets
Kind Value Annotation
length 3
source <xsd:attribute name="diffuse" type="plm:RGBType" use="required"/>

attribute MaterialType/@specular
type plm:RGBType
properties
default 0.0 0.0 0.0
facets
Kind Value Annotation
length 3
source <xsd:attribute name="specular" type="plm:RGBType" default="0.0 0.0 0.0"/>

attribute MaterialType/@emissive
type plm:RGBType
properties
default 0.0 0.0 0.0
facets
Kind Value Annotation
length 3
source <xsd:attribute name="emissive" type="plm:RGBType" default="0.0 0.0 0.0"/>

attribute MaterialType/@shininess
type plm:ShininessType
properties
default 0.0
facets
Kind Value Annotation
minInclusive 0.0
maxInclusive 255.0
source <xsd:attribute name="shininess" type="plm:ShininessType" default="0.0"/>

attribute MaterialType/@alpha
type plm:AlphaType
properties
default 1.0
facets
Kind Value Annotation
minInclusive 0.0
maxInclusive 1.0
source <xsd:attribute name="alpha" type="plm:AlphaType" default="1.0"/>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy