diagram | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
type | extension of X3DComposableVolumeRenderStyleNode | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
properties |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
children | IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString Material ComposedTexture3D ImageTexture3D PixelTexture3D ProtoInstance | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
used by |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
attributes |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
annotation |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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/documents/specifications/19775-1/V3.3/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> |
type | SFBool | ||
properties |
|
||
source | <xs:attribute name="lighting" type="SFBool" default="false"/> |
type | SFBool | ||
properties |
|
||
source | <xs:attribute name="shadows" type="SFBool" default="false"/> |
type | SFString | ||
properties |
|
||
source | <xs:attribute name="phaseFunction" type="SFString" default="Henyey-Greenstein"/> |
type | xs:NMTOKEN | ||
properties |
|
||
source | <xs:attribute name="containerField" type="xs:NMTOKEN" default="renderStyle"/> |