TextureProperties

Element Information

Model

Attributes

Used By

Source

<xs:element name="TextureProperties">
  <xs:annotation>
    <xs:appinfo>
      <xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Texturing"/>
      <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
    </xs:appinfo>
    <xs:documentation source="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/texturing.html#TextureProperties"/>
  </xs:annotation>
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="X3DNode">
        <xs:attribute name="anisotropicDegree" default="1">
          <xs:simpleType>
            <xs:restriction base="SFFloat">
              <xs:minInclusive value="1"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="borderColor" type="SFColorRGBA" default="0 0 0 0"/>
        <xs:attribute name="borderWidth" default="0">
          <xs:simpleType>
            <xs:restriction base="SFInt32">
              <xs:minInclusive value="0"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="boundaryModeS" type="textureBoundaryModeValues" default="REPEAT"/>
        <xs:attribute name="boundaryModeT" type="textureBoundaryModeValues" default="REPEAT"/>
        <xs:attribute name="boundaryModeR" type="textureBoundaryModeValues" default="REPEAT"/>
        <xs:attribute name="magnificationFilter" type="textureMagnificationModeValues" default="FASTEST"/>
        <xs:attribute name="minificationFilter" type="textureMinificationModeValues" default="FASTEST"/>
        <xs:attribute name="textureCompression" type="textureCompressionModeValues" default="FASTEST"/>
        <xs:attribute name="texturePriority" default="0">
          <xs:simpleType>
            <xs:restriction base="SFFloat">
              <xs:minInclusive value="0"/>
              <xs:maxInclusive value="1"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="generateMipMaps" type="SFBool" default="false"/>
        <xs:attribute name="containerField" type="xs:NMTOKEN" default="textureProperties"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

Sample