Definition Type: Element
Name: Material
Type: X3DMaterialNode
Containing Schema: x3d-3.2.xsd
Abstract
Collapse XSD Schema Diagram:
Drilldown into MetadataString in schema x3d-3_2_xsd Drilldown into MetadataSet in schema x3d-3_2_xsd Drilldown into MetadataInteger in schema x3d-3_2_xsd Drilldown into MetadataFloat in schema x3d-3_2_xsd Drilldown into MetadataDouble in schema x3d-3_2_xsd Drilldown into ChildContentModelCore in schema x3d-3_2_xsd Drilldown into IS in schema x3d-3_2_xsd Drilldown into class in schema x3d-3_2_xsd Drilldown into globalAttributes in schema x3d-3_2_xsd Drilldown into USE in schema x3d-3_2_xsd Drilldown into DEF in schema x3d-3_2_xsd Drilldown into DEF_USE in schema x3d-3_2_xsd Drilldown into X3DNode in schema x3d-3_2_xsd Drilldown into X3DAppearanceChildNode in schema x3d-3_2_xsd Drilldown into containerField in schema x3d-3_2_xsd Drilldown into X3DMaterialNode in schema x3d-3_2_xsd Drilldown into transparency in schema x3d-3_2_xsd Drilldown into specularColor in schema x3d-3_2_xsd Drilldown into shininess in schema x3d-3_2_xsd Drilldown into emissiveColor in schema x3d-3_2_xsd Drilldown into diffuseColor in schema x3d-3_2_xsd Drilldown into ambientIntensity in schema x3d-3_2_xsdXSD Diagram of Material in schema x3d-3_2_xsd (Web3D - Open Standards for Real-Time 3D Communication)
Collapse XSD Schema Code:
<xs:element name="Material">
    <xs:annotation>
        <xs:appinfo />
        <xs:documentation source="http://www.web3d.org/x3d/specifications/ISO-IEC-FDIS-19775-1.2-X3D-AbstractSpecification/Part01/components/shape.html#Material" />
    </xs:annotation>
    <xs:complexType mixed="false">
        <xs:complexContent mixed="false">
            <xs:extension base="X3DMaterialNode">
                <xs:attribute name="ambientIntensity" default="0.2">
                    <xs:simpleType>
                        <xs:restriction base="SFFloat">
                            <xs:minInclusive value="0" />
                            <xs:maxInclusive value="1" />
                        </xs:restriction>
                    </xs:simpleType>
                </xs:attribute>
                <xs:attribute name="diffuseColor" type="SFColor" default="0.8 0.8 0.8" />
                <xs:attribute name="emissiveColor" type="SFColor" default="0 0 0" />
                <xs:attribute name="shininess" default="0.2">
                    <xs:simpleType>
                        <xs:restriction base="SFFloat">
                            <xs:minInclusive value="0" />
                            <xs:maxInclusive value="1" />
                        </xs:restriction>
                    </xs:simpleType>
                </xs:attribute>
                <xs:attribute name="specularColor" type="SFColor" default="0 0 0" />
                <xs:attribute name="transparency" default="0">
                    <xs:simpleType>
                        <xs:restriction base="SFFloat">
                            <xs:minInclusive value="0" />
                            <xs:maxInclusive value="1" />
                        </xs:restriction>
                    </xs:simpleType>
                </xs:attribute>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
</xs:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
IS IS 0 (1)
MetadataDouble MetadataDouble (1) (1)
MetadataFloat MetadataFloat (1) (1)
MetadataInteger MetadataInteger (1) (1)
MetadataSet MetadataSet (1) (1)
MetadataString MetadataString (1) (1)
<xs:group> ChildContentModelCore 0 (1)
Collapse Child Attributes:
Name Type Default Value Use
DEF DEF (Optional)
USE USE (Optional)
class class (Optional)
containerField containerField material (Optional)
ambientIntensity ambientIntensity 0.2 (Optional)
diffuseColor diffuseColor 0.8 0.8 0.8 (Optional)
emissiveColor emissiveColor 0 0 0 (Optional)
shininess shininess 0.2 (Optional)
specularColor specularColor 0 0 0 (Optional)
transparency transparency 0 (Optional)
Collapse Derivation Tree: