diagram | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
type | extension of X3DChildNode | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
properties |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
children | IS MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
used by |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
attributes |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
annotation |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
source | <xs:complexType name="X3DLightNode" abstract="true"> <xs:annotation> <xs:appinfo> <!-- global attribute default value can differ, and so is defined individually for each light node. --> <!-- <xs:attribute name="global" type="SFBool" fixed="inputOutputField"/> --> <xs:attribute name="componentName" type="componentNameChoices" fixed="Lighting"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/> Light nodes provide illumination for rendering geometry in the scene. Implementing nodes must include a global field with type SFBool and accessType inputOutput. </xs:appinfo> <xs:documentation source="https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/lighting.html#X3DLightNode"/> </xs:annotation> <xs:complexContent> <xs:extension base="X3DChildNode"> <xs:attribute name="ambientIntensity" type="unitIntervalType" default="0"/> <xs:attribute name="color" type="SFColor" default="1 1 1"/> <xs:attribute name="intensity" type="unitIntervalType" default="1"/> <xs:attribute name="on" type="SFBool" default="true"/> </xs:extension> </xs:complexContent> </xs:complexType> |
type | unitIntervalType | |||||||||
properties |
|
|||||||||
facets |
|
|||||||||
source | <xs:attribute name="ambientIntensity" type="unitIntervalType" default="0"/> |
type | SFColor | |||||||||
properties |
|
|||||||||
facets |
|
|||||||||
source | <xs:attribute name="color" type="SFColor" default="1 1 1"/> |
type | unitIntervalType | |||||||||
properties |
|
|||||||||
facets |
|
|||||||||
source | <xs:attribute name="intensity" type="unitIntervalType" default="1"/> |
type | SFBool | ||
properties |
|
||
source | <xs:attribute name="on" type="SFBool" default="true"/> |