complexType LightSourceBase
diagram plmxml_diagrams/plmxml_p358.png
namespace http://www.plmxml.org/Schemas/PLMXMLSchema
type extension of plm:AttribOwnerBase
properties
base plm:AttribOwnerBase
abstract true
children plm:Description plm:ApplicationRef plm:Attribute
used by
element LightSource
complexTypes DirectionalLightType PositionalLightType
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    0.0 0.0 0.0    
diffuse  plm:RGBType    1.0 1.0 1.0    
specular  plm:RGBType    1.0 1.0 1.0    
intensity  plm:AlphaType    1.0    
annotation
documentation

      Base class for elements representing Light Sources
     
      Attributes:
     
      ambient:       ambient light
      diffuse:       diffuse light
      specular:      specular light
      intensity:     intensity multiplier
     
source <xsd:complexType name="LightSourceBase" abstract="true">
 
<xsd:annotation>
   
<xsd:documentation>
      Base class for elements representing Light Sources
     
      Attributes:
     
      ambient:       ambient light
      diffuse:       diffuse light
      specular:      specular light
      intensity:     intensity multiplier
     
</xsd:documentation>
 
</xsd:annotation>
 
<xsd:complexContent>
   
<xsd:extension base="plm:AttribOwnerBase">
     
<xsd:attribute name="ambient" type="plm:RGBType" default="0.0 0.0 0.0"/>
     
<xsd:attribute name="diffuse" type="plm:RGBType" default="1.0 1.0 1.0"/>
     
<xsd:attribute name="specular" type="plm:RGBType" default="1.0 1.0 1.0"/>
     
<xsd:attribute name="intensity" type="plm:AlphaType" default="1.0"/>
   
</xsd:extension>
 
</xsd:complexContent>
</xsd:complexType>

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

attribute LightSourceBase/@diffuse
type plm:RGBType
properties
default 1.0 1.0 1.0
facets
Kind Value Annotation
length 3
source <xsd:attribute name="diffuse" type="plm:RGBType" default="1.0 1.0 1.0"/>

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

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


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