Definition Type: ComplexType
Name: X3DLightNode
Type: X3DChildNode
Containing Schema: x3d-3.2.xsd
Abstract True
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 containerField in schema x3d-3_2_xsd Drilldown into X3DChildNode in schema x3d-3_2_xsd Drilldown into on in schema x3d-3_2_xsd Drilldown into intensity in schema x3d-3_2_xsd Drilldown into color in schema x3d-3_2_xsd Drilldown into ambientIntensity in schema x3d-3_2_xsdXSD Diagram of X3DLightNode in schema x3d-3_2_xsd (Web3D - Open Standards for Real-Time 3D Communication)
Collapse XSD Schema Code:
<xs:complexType name="X3DLightNode" abstract="true" mixed="false">
    <xs:annotation>
        <xs:appinfo>Light nodes provide illumination for rendering geometry in the scene.</xs:appinfo>
        <xs:documentation source="http://www.web3d.org/x3d/specifications/ISO-IEC-FDIS-19775-1.2-X3D-AbstractSpecification/Part01/components/lighting.html#X3DLightNode" />
    </xs:annotation>
    <xs:complexContent mixed="false">
        <xs:extension base="X3DChildNode">
            <xs:attribute name="ambientIntensity" 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="color" type="SFColor" default="1 1 1" />
            <xs:attribute name="intensity" default="1">
                <xs:simpleType>
                    <xs:restriction base="SFFloat">
                        <xs:minInclusive value="0" />
                        <xs:maxInclusive value="1" />
                    </xs:restriction>
                </xs:simpleType>
            </xs:attribute>
            <xs:attribute name="on" type="SFBool" default="true" />
        </xs:extension>
        <!-- global attribute default value differs and so is defined individually for each light node -->
    </xs:complexContent>
</xs:complexType>
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 children (Optional)
ambientIntensity ambientIntensity 0 (Optional)
color color 1 1 1 (Optional)
intensity intensity 1 (Optional)
on on true (Optional)
Collapse Derivation Tree:
Collapse References:
DirectionalLight, PointLight, SpotLight