complexType ColourType
diagram plmxml_diagrams/plmxml_p255.png
namespace http://www.plmxml.org/Schemas/PLMXMLSchema
type extension of plm:PropertyBase
properties
base plm:PropertyBase
children plm:Description plm:ApplicationRef plm:Attribute
used by
element Colour
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      
ownerRef  plm:anyURIType  optional      
ambient  plm:RGBType  optional      
diffuse  plm:RGBType  optional      
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    
colourId  xsd:string  optional      
type  xsd:string  optional      
typeRef  plm:anyURIType  optional      
annotation
documentation

      This Property represents the colour of an object.

      Attributes:

      ambient:          ambient colour
      diffuse:          diffuse colour
      specular:         specular colour
      emissive:         emissive colour
      shininess:        shininess coefficient (0-255)
      alpha:            alpha coefficient (0-1)
      colourId:         string id of the colour
      type:             a string indicating the use of the colour in the owning
                        element.
      typeRef:          References a multiple language version of type. If
                        multiple language support is required, typeRef should be
                        used in addition to type.
     
source <xsd:complexType name="ColourType">
 
<xsd:annotation>
   
<xsd:documentation>
      This Property represents the colour of an object.

      Attributes:

      ambient:          ambient colour
      diffuse:          diffuse colour
      specular:         specular colour
      emissive:         emissive colour
      shininess:        shininess coefficient (0-255)
      alpha:            alpha coefficient (0-1)
      colourId:         string id of the colour
      type:             a string indicating the use of the colour in the owning
                        element.
      typeRef:          References a multiple language version of type. If
                        multiple language support is required, typeRef should be
                        used in addition to type.
     
</xsd:documentation>
 
</xsd:annotation>
 
<xsd:complexContent>
   
<xsd:extension base="plm:PropertyBase">
     
<xsd:attribute name="ambient" type="plm:RGBType" use="optional"/>
     
<xsd:attribute name="diffuse" type="plm:RGBType" use="optional"/>
     
<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:attribute name="colourId" type="xsd:string" use="optional"/>
     
<xsd:attribute name="type" type="xsd:string" use="optional"/>
     
<xsd:attribute name="typeRef" type="plm:anyURIType" use="optional" plm:refType="plm:Text"/>
   
</xsd:extension>
 
</xsd:complexContent>
</xsd:complexType>

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

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

attribute ColourType/@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 ColourType/@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 ColourType/@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 ColourType/@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"/>

attribute ColourType/@colourId
type xsd:string
properties
use optional
source <xsd:attribute name="colourId" type="xsd:string" use="optional"/>

attribute ColourType/@type
type xsd:string
properties
use optional
source <xsd:attribute name="type" type="xsd:string" use="optional"/>

attribute ColourType/@typeRef
type plm:anyURIType
properties
use optional
source <xsd:attribute name="typeRef" type="plm:anyURIType" use="optional" plm:refType="plm:Text"/>


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