complexType X3DOneSidedMaterialNode
diagram x3d-4.0_diagrams/x3d-4.0_p363.png
type extension of X3DMaterialNode
properties
base X3DMaterialNode
abstract true
children IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString
used by
elements Material PhysicalMaterial UnlitMaterial
attributes
Name  Type  Use  Default  Fixed  Annotation
DEF  xs:ID        
appinfo

                    DEF defines a unique ID name for each node, referenceable by other nodes.
               
USE  xs:IDREF        
appinfo

                    USE means reuse an already DEF-ed node ID, excluding all child nodes and all other attributes (except for containerField, which can have a different value).
               
class  xs:NMTOKENS        
appinfo

                    The class attribute is a space-separated list of classes, reserved for use by Cascading Style Sheets (CSS) and XML stylesheets.
                    This attribute is only functional if the X3D model is loaded within an HTML page.
               
id  xs:NMTOKEN        
appinfo

                    The id attribute is a unique identifier, reserved for use by HTML5/DOM pages, independent of DEF labeling and internal X3D node referencing.
                    This attribute is only functional if the X3D model is loaded within an HTML page.
               
style  SFString        
appinfo

                    The style attribute provides an inline block of CSS for element styling, reserved for use by Cascading Style Sheets (CSS) and XML stylesheets.
                    This attribute is only functional if the X3D model is loaded within an HTML page.
               
emissiveColor  SFColor    0 0 0    
appinfo

                            A Material with emissiveColor not equal to (0,0,0) and diffuseColor equal to (0,0,0) is an unlit material.
                       
emissiveTextureMapping  xs:NMTOKEN        
normalScale  derived by: SFFloat    1    
appinfo
<xs:attribute name="componentName" type="componentNameChoices" fixed="Shape"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
normalTextureMapping  xs:NMTOKEN        
annotation
appinfo
<xs:attribute name="componentName" type="componentNameChoices" fixed="Shape"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="4"/>
                Base type for material nodes that describe how the shape looks like from one side.
                A different number of contanied texture nodes are allowed by each of the implementing nodes.
           
source <xs:complexType name="X3DOneSidedMaterialNode" abstract="true">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="Shape"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="4"/>
                Base type for material nodes that describe how the shape looks like from one side.
                A different number of contanied texture nodes are allowed by each of the implementing nodes.
           
</xs:appinfo>
   
<xs:documentation source="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/shape.html#X3DOneSidedMaterialNode"/>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="X3DMaterialNode">
     
<xs:attribute name="emissiveColor" type="SFColor" default="0 0 0">
       
<xs:annotation>
         
<xs:appinfo>
                            A Material with emissiveColor not equal to (0,0,0) and diffuseColor equal to (0,0,0) is an unlit material.
                       
</xs:appinfo>
       
</xs:annotation>
     
</xs:attribute>
     
<xs:attribute name="emissiveTextureMapping" type="xs:NMTOKEN"/>
     
<xs:attribute name="normalScale" default="1">
       
<xs:annotation>
         
<xs:appinfo>
           
<xs:attribute name="componentName" type="componentNameChoices" fixed="Shape"/>
           
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
         
</xs:appinfo>
       
</xs:annotation>
       
<xs:simpleType>
         
<xs:restriction base="SFFloat">
           
<xs:minInclusive value="0"/>
         
</xs:restriction>
       
</xs:simpleType>
     
</xs:attribute>
     
<xs:attribute name="normalTextureMapping" type="xs:NMTOKEN"/>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

attribute X3DOneSidedMaterialNode/@emissiveColor
type SFColor
properties
default 0 0 0
facets
Kind Value Annotation
whiteSpace collapse
pattern (\s)*(([+]?((0(\.[0-9]*)?|\.[0-9]+)|1(\.0*)?)([Ee][+-]?[0-9]+)?)(\s)+){2}([+]?((0(\.[0-9]*)?|\.[0-9]+)|1(\.0*)?)([Ee][+-]?[0-9]+)?)(\s)*
annotation
appinfo

                            A Material with emissiveColor not equal to (0,0,0) and diffuseColor equal to (0,0,0) is an unlit material.
                       
source <xs:attribute name="emissiveColor" type="SFColor" default="0 0 0">
 
<xs:annotation>
   
<xs:appinfo>
                            A Material with emissiveColor not equal to (0,0,0) and diffuseColor equal to (0,0,0) is an unlit material.
                       
</xs:appinfo>
 
</xs:annotation>
</xs:attribute>

attribute X3DOneSidedMaterialNode/@emissiveTextureMapping
type xs:NMTOKEN
source <xs:attribute name="emissiveTextureMapping" type="xs:NMTOKEN"/>

attribute X3DOneSidedMaterialNode/@normalScale
type restriction of SFFloat
properties
default 1
facets
Kind Value Annotation
minInclusive 0
annotation
appinfo
<xs:attribute name="componentName" type="componentNameChoices" fixed="Shape"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
source <xs:attribute name="normalScale" default="1">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="Shape"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
   
</xs:appinfo>
 
</xs:annotation>
 
<xs:simpleType>
   
<xs:restriction base="SFFloat">
     
<xs:minInclusive value="0"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute X3DOneSidedMaterialNode/@normalTextureMapping
type xs:NMTOKEN
source <xs:attribute name="normalTextureMapping" type="xs:NMTOKEN"/>


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