element ShadedVolumeStyle
diagram x3d-4.0_diagrams/x3d-4.0_p215.png
type extension of X3DComposableVolumeRenderStyleNode
properties
content complex
children IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString Material ComposedTexture3D ImageTexture3D PixelTexture3D ProtoInstance
used by
group VolumeRenderStyleContentModel
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.
               
enabled  SFBool    true    
lighting  SFBool    false    
shadows  SFBool    false    
phaseFunction  SFString    Henyey-Greenstein    
containerField  xs:NMTOKEN    renderStyle    
annotation
appinfo
<!-- optional values, can be extended -->
<xs:attribute name="phaseFunction" type="phaseFunctionValues"/>
<xs:element name="material" type="SFNode" fixed="inputOutputField" default="X3DMaterialNode"/>
<xs:element name="surfaceNormals" type="SFNode" fixed="inputOutputField" default="X3DTexture3DNode"/>
<xs:attribute name="componentName" type="componentNameChoices" fixed="VolumeRendering"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="3"/>
                All fields fully supported except shadows supported with at least Phong shading at level 3.
                All fields fully supported with at least Phong shading and Henyey-Greenstein phase function, shadows fully supported at level 4.
           
source <xs:element name="ShadedVolumeStyle">
 
<xs:annotation>
   
<xs:appinfo>
     
<!-- optional values, can be extended -->
     
<xs:attribute name="phaseFunction" type="phaseFunctionValues"/>
     
<xs:element name="material" type="SFNode" fixed="inputOutputField" default="X3DMaterialNode"/>
     
<xs:element name="surfaceNormals" type="SFNode" fixed="inputOutputField" default="X3DTexture3DNode"/>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="VolumeRendering"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="3"/>
                All fields fully supported except shadows supported with at least Phong shading at level 3.
                All fields fully supported with at least Phong shading and Henyey-Greenstein phase function, shadows fully supported at level 4.
           
</xs:appinfo>
   
<xs:documentation source="https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/volume.html#ShadedVolumeStyle"/>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="X3DComposableVolumeRenderStyleNode">
       
<xs:choice minOccurs="0" maxOccurs="1">
         
<xs:sequence>
           
<xs:element ref="Material">
             
<xs:annotation>
               
<xs:documentation>material</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:choice minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>surfaceNormals</xs:documentation>
             
</xs:annotation>
             
<xs:group ref="Texture3DContentModel"/>
             
<xs:element ref="ProtoInstance">
               
<xs:annotation>
                 
<xs:documentation>Appropriately typed substitution node</xs:documentation>
               
</xs:annotation>
             
</xs:element>
           
</xs:choice>
         
</xs:sequence>
         
<xs:sequence>
           
<xs:group ref="Texture3DContentModel">
             
<xs:annotation>
               
<xs:documentation>surfaceNormals</xs:documentation>
             
</xs:annotation>
           
</xs:group>
           
<xs:choice minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>material</xs:documentation>
             
</xs:annotation>
             
<xs:element ref="Material"/>
             
<xs:element ref="ProtoInstance">
               
<xs:annotation>
                 
<xs:documentation>Appropriately typed substitution node</xs:documentation>
               
</xs:annotation>
             
</xs:element>
           
</xs:choice>
         
</xs:sequence>
         
<xs:sequence>
           
<xs:element ref="ProtoInstance">
             
<xs:annotation>
               
<xs:documentation>material or surfaceNormals</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:choice minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>surfaceNormals or material</xs:documentation>
             
</xs:annotation>
             
<xs:group ref="Texture3DContentModel">
               
<xs:annotation>
                 
<xs:documentation>surfaceNormals</xs:documentation>
               
</xs:annotation>
             
</xs:group>
             
<xs:element ref="Material">
               
<xs:annotation>
                 
<xs:documentation>material</xs:documentation>
               
</xs:annotation>
             
</xs:element>
             
<xs:element ref="ProtoInstance">
               
<xs:annotation>
                 
<xs:documentation>Appropriately typed substitution node</xs:documentation>
               
</xs:annotation>
             
</xs:element>
           
</xs:choice>
         
</xs:sequence>
       
</xs:choice>
       
<xs:attribute name="lighting" type="SFBool" default="false"/>
       
<xs:attribute name="shadows" type="SFBool" default="false"/>
       
<xs:attribute name="phaseFunction" type="SFString" default="Henyey-Greenstein"/>
       
<xs:attribute name="containerField" type="xs:NMTOKEN" default="renderStyle"/>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

attribute ShadedVolumeStyle/@lighting
type SFBool
properties
default false
source <xs:attribute name="lighting" type="SFBool" default="false"/>

attribute ShadedVolumeStyle/@shadows
type SFBool
properties
default false
source <xs:attribute name="shadows" type="SFBool" default="false"/>

attribute ShadedVolumeStyle/@phaseFunction
type SFString
properties
default Henyey-Greenstein
source <xs:attribute name="phaseFunction" type="SFString" default="Henyey-Greenstein"/>

attribute ShadedVolumeStyle/@containerField
type xs:NMTOKEN
properties
default renderStyle
source <xs:attribute name="containerField" type="xs:NMTOKEN" default="renderStyle"/>


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