X3DFogObject

Complex Type Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
color SFColor 1 1 1 optional
fogType fogTypeValues LINEAR optional
visibilityRange restriction of SFFloat 0 optional

Source

<xs:complexType name="X3DFogObject" abstract="true">
  <xs:annotation>
    <xs:appinfo>
      <xs:attribute name="componentName" type="xs:NMTOKEN" fixed="EnvironmentalEffects"/>
      <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>Abstract type describing a node that influences the lighting equation through the use of fog semantics.</xs:appinfo>
    <xs:documentation source="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/enveffects.html#X3DFogOjbect"/>
  </xs:annotation>
  <xs:attribute name="color" type="SFColor" default="1 1 1"/>
  <xs:attribute name="fogType" type="fogTypeValues" default="LINEAR"/>
  <xs:attribute name="visibilityRange" default="0">
    <!-- type="SFFloatNonNegative" -->
    <xs:simpleType>
      <xs:restriction base="SFFloat">
        <xs:minInclusive value="0"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:attribute>
</xs:complexType>