complexType PositionalLightType
diagram plmxml_diagrams/plmxml_p448.png
namespace http://www.plmxml.org/Schemas/PLMXMLSchema
type extension of plm:LightSourceBase
properties
base plm:LightSourceBase
children plm:Description plm:ApplicationRef plm:Attribute
used by
element PositionalLight
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    
position  plm:VectorType    0.0 0.0 1.0    
direction  plm:VectorType    0.0 0.0 -1.0    
cutoffAngle  plm:CutoffAngleType  optional      
intensityExponent  plm:IntensityExponentType    0.0    
attenuation  plm:AttenuationType    0.0 0.0 1.0    
annotation
documentation

      Positional Light Source, i.e. point source.
     
      Attributes:
     
      position:      position of light
      direction:     direction in which the light is shining
      cutoffAngle:   semiAngle of cone of light. If absent, the source is not
                     a spotlight, but shines in all directions.
      intensityExponent:  the intensity exponent determines the intensity distribution
                     within the cone. Higher intensity exponent values result in a more
                     focused light source.
      attenuation:   the attenuation of the light source within the scene. The three
                     attenuation values are the factors in a quadratic equation, giving
                     intensity as a function of distance from the source. The values
                     within the attribute are in order: quadratic, linear and constant.
     
source <xsd:complexType name="PositionalLightType">
 
<xsd:annotation>
   
<xsd:documentation>
      Positional Light Source, i.e. point source.
     
      Attributes:
     
      position:      position of light
      direction:     direction in which the light is shining
      cutoffAngle:   semiAngle of cone of light. If absent, the source is not
                     a spotlight, but shines in all directions.
      intensityExponent:  the intensity exponent determines the intensity distribution
                     within the cone. Higher intensity exponent values result in a more
                     focused light source.
      attenuation:   the attenuation of the light source within the scene. The three
                     attenuation values are the factors in a quadratic equation, giving
                     intensity as a function of distance from the source. The values
                     within the attribute are in order: quadratic, linear and constant.
     
</xsd:documentation>
 
</xsd:annotation>
 
<xsd:complexContent>
   
<xsd:extension base="plm:LightSourceBase">
     
<xsd:attribute name="position" type="plm:VectorType" default="0.0 0.0 1.0"/>
     
<xsd:attribute name="direction" type="plm:VectorType" default="0.0 0.0 -1.0"/>
     
<xsd:attribute name="cutoffAngle" type="plm:CutoffAngleType" use="optional"/>
     
<xsd:attribute name="intensityExponent" type="plm:IntensityExponentType" default="0.0"/>
     
<xsd:attribute name="attenuation" type="plm:AttenuationType" default="0.0 0.0 1.0"/>
   
</xsd:extension>
 
</xsd:complexContent>
</xsd:complexType>

attribute PositionalLightType/@position
type plm:VectorType
properties
default 0.0 0.0 1.0
facets
Kind Value Annotation
length 3
source <xsd:attribute name="position" type="plm:VectorType" default="0.0 0.0 1.0"/>

attribute PositionalLightType/@direction
type plm:VectorType
properties
default 0.0 0.0 -1.0
facets
Kind Value Annotation
length 3
source <xsd:attribute name="direction" type="plm:VectorType" default="0.0 0.0 -1.0"/>

attribute PositionalLightType/@cutoffAngle
type plm:CutoffAngleType
properties
use optional
facets
Kind Value Annotation
minInclusive 0.0
maxInclusive 90.0
source <xsd:attribute name="cutoffAngle" type="plm:CutoffAngleType" use="optional"/>

attribute PositionalLightType/@intensityExponent
type plm:IntensityExponentType
properties
default 0.0
facets
Kind Value Annotation
minInclusive 0.0
maxInclusive 255.0
source <xsd:attribute name="intensityExponent" type="plm:IntensityExponentType" default="0.0"/>

attribute PositionalLightType/@attenuation
type plm:AttenuationType
properties
default 0.0 0.0 1.0
facets
Kind Value Annotation
length 3
source <xsd:attribute name="attenuation" type="plm:AttenuationType" default="0.0 0.0 1.0"/>


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