LocalFog

Element Information

Model

Attributes

Used By

Source

<xs:element name="LocalFog">
  <xs:annotation>
    <xs:appinfo>
      <xs:attribute name="additionalInterface" type="xs:string" default="X3DFogObject"/>
      <xs:attribute name="componentName" type="xs:NMTOKEN" fixed="EnvironmentalEffects"/>
      <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="4"/>
    </xs:appinfo>
    <xs:documentation source="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/enveffects.html#LocalFog"/>
  </xs:annotation>
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="X3DChildNode">
        <xs:attribute name="enabled" type="SFBool" default="true"/>
        <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:attribute name="containerField" type="xs:NMTOKEN" default="children"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

Sample