complexType X3DBackgroundNode
diagram x3d-3.1_diagrams/x3d-3.1_p209.png
type extension of X3DBindableNode
properties
base X3DBindableNode
abstract true
children IS MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString
used by
elements Background TextureBackground
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.
groundAngle  MFFloat        
appinfo
<xs:minInclusive value="0"/>
<xs:maxInclusive value="1.5708"/>
<xs:attribute name="componentName" type="componentNameChoices" fixed="EnvironmentalEffects"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
groundColor  MFColor        
skyAngle  MFFloat        
appinfo
<xs:minInclusive value="0"/>
<xs:maxInclusive value="3.1416"/>
<xs:attribute name="componentName" type="componentNameChoices" fixed="EnvironmentalEffects"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
skyColor  MFColor    0 0 0    
appinfo
<xs:attribute name="componentName" type="componentNameChoices" fixed="EnvironmentalEffects"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
Only one skyColor is required at level 1.
transparency  unitIntervalType    0    
annotation
appinfo
<xs:attribute name="componentName" type="componentNameChoices" fixed="EnvironmentalEffects"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
Abstract type from which all backgrounds inherit, also defining a background binding stack.
source <xs:complexType name="X3DBackgroundNode" abstract="true">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="EnvironmentalEffects"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
Abstract type from which all backgrounds inherit, also defining a background binding stack.
</xs:appinfo>
   
<xs:documentation source="https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/enveffects.html#X3DBackgroundNode"/>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="X3DBindableNode">
     
<xs:attribute name="groundAngle" type="MFFloat">
       
<xs:annotation>
         
<xs:appinfo>
           
<xs:minInclusive value="0"/>
           
<xs:maxInclusive value="1.5708"/>
           
<xs:attribute name="componentName" type="componentNameChoices" fixed="EnvironmentalEffects"/>
           
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
         
</xs:appinfo>
       
</xs:annotation>
     
</xs:attribute>
     
<xs:attribute name="groundColor" type="MFColor"/>
     
<xs:attribute name="skyAngle" type="MFFloat">
       
<xs:annotation>
         
<xs:appinfo>
           
<xs:minInclusive value="0"/>
           
<xs:maxInclusive value="3.1416"/>
           
<xs:attribute name="componentName" type="componentNameChoices" fixed="EnvironmentalEffects"/>
           
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
         
</xs:appinfo>
       
</xs:annotation>
     
</xs:attribute>
     
<xs:attribute name="skyColor" type="MFColor" default="0 0 0">
       
<xs:annotation>
         
<xs:appinfo>
           
<xs:attribute name="componentName" type="componentNameChoices" fixed="EnvironmentalEffects"/>
           
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
Only one skyColor is required at level 1.
</xs:appinfo>
       
</xs:annotation>
     
</xs:attribute>
     
<xs:attribute name="transparency" type="unitIntervalType" default="0"/>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

attribute X3DBackgroundNode/@groundAngle
type MFFloat
facets
Kind Value Annotation
whiteSpace collapse
pattern (\s)*(([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*,?\s*)*
annotation
appinfo
<xs:minInclusive value="0"/>
<xs:maxInclusive value="1.5708"/>
<xs:attribute name="componentName" type="componentNameChoices" fixed="EnvironmentalEffects"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
source <xs:attribute name="groundAngle" type="MFFloat">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:minInclusive value="0"/>
     
<xs:maxInclusive value="1.5708"/>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="EnvironmentalEffects"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
   
</xs:appinfo>
 
</xs:annotation>
</xs:attribute>

attribute X3DBackgroundNode/@groundColor
type MFColor
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*,?\s*)*
source <xs:attribute name="groundColor" type="MFColor"/>

attribute X3DBackgroundNode/@skyAngle
type MFFloat
facets
Kind Value Annotation
whiteSpace collapse
pattern (\s)*(([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*,?\s*)*
annotation
appinfo
<xs:minInclusive value="0"/>
<xs:maxInclusive value="3.1416"/>
<xs:attribute name="componentName" type="componentNameChoices" fixed="EnvironmentalEffects"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
source <xs:attribute name="skyAngle" type="MFFloat">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:minInclusive value="0"/>
     
<xs:maxInclusive value="3.1416"/>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="EnvironmentalEffects"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
   
</xs:appinfo>
 
</xs:annotation>
</xs:attribute>

attribute X3DBackgroundNode/@skyColor
type MFColor
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*,?\s*)*
annotation
appinfo
<xs:attribute name="componentName" type="componentNameChoices" fixed="EnvironmentalEffects"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
Only one skyColor is required at level 1.
source <xs:attribute name="skyColor" type="MFColor" default="0 0 0">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="EnvironmentalEffects"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
Only one skyColor is required at level 1.
</xs:appinfo>
 
</xs:annotation>
</xs:attribute>

attribute X3DBackgroundNode/@transparency
type unitIntervalType
properties
default 0
facets
Kind Value Annotation
minInclusive 0
maxInclusive 1
source <xs:attribute name="transparency" type="unitIntervalType" default="0"/>


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