diagram | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
type | extension of X3DLightNode | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
properties |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
children | IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString ImageTexture MovieTexture PixelTexture ComposedCubeMapTexture GeneratedCubeMapTexture ImageCubeMapTexture ProtoInstance | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
used by |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
attributes |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
annotation |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
source | <xs:element name="EnvironmentLight"> <xs:annotation> <xs:appinfo> <xs:attribute name="componentName" type="componentNameChoices" fixed="Lighting"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/> <xs:element name="diffuse" type="SFNode" fixed="inputOutputField" default="X3DSingleTextureNode"> <xs:annotation> <xs:appinfo>.DDS format</xs:appinfo> </xs:annotation> </xs:element> <xs:element name="diffuseTexture" type="SFNode" fixed="inputOutputField" default="X3DEnvironmentTextureNode"/> <xs:element name="specularTexture" type="SFNode" fixed="inputOutputField" default="X3DEnvironmentTextureNode"/> TODO add contained nodes. </xs:appinfo> <xs:documentation source="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/lighting.html#DirectionalLight"/> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:extension base="X3DLightNode"> <xs:sequence> <xs:choice minOccurs="0" maxOccurs="1"> <xs:annotation> <xs:documentation>diffuse</xs:documentation> </xs:annotation> <!-- strictly one for this field --> <xs:element ref="ImageTexture"/> <xs:element ref="MovieTexture"/> <xs:element ref="PixelTexture"/> <!-- inclusion of ProtoInstance here leads to ambiguous content model --> </xs:choice> <xs:choice minOccurs="0" maxOccurs="2"> <xs:annotation> <xs:documentation>diffuseTexture, specularTexture</xs:documentation> </xs:annotation> <!-- strictly one of each field, any order --> <xs:element ref="ComposedCubeMapTexture"/> <xs:element ref="GeneratedCubeMapTexture"/> <xs:element ref="ImageCubeMapTexture"/> <xs:element ref="ProtoInstance"> <xs:annotation> <xs:documentation>Appropriately typed substitution node</xs:documentation> </xs:annotation> </xs:element> </xs:choice> </xs:sequence> <xs:attribute name="diffuseCoefficients" type="MFFloat"> <xs:annotation> <xs:documentation>Provides optional 3 x 9 array of float values</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="global" type="SFBool" default="false"/> <xs:attribute name="rotation" type="SFRotation" default="0 0 1 0"/> <xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> |
type | MFFloat | |||||||||
facets |
|
|||||||||
annotation |
|
|||||||||
source | <xs:attribute name="diffuseCoefficients" type="MFFloat"> <xs:annotation> <xs:documentation>Provides optional 3 x 9 array of float values</xs:documentation> </xs:annotation> </xs:attribute> |
type | SFBool | ||
properties |
|
||
source | <xs:attribute name="global" type="SFBool" default="false"/> |
type | SFRotation | |||||||||
properties |
|
|||||||||
facets |
|
|||||||||
source | <xs:attribute name="rotation" type="SFRotation" default="0 0 1 0"/> |
type | xs:NMTOKEN | ||
properties |
|
||
source | <xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/> |