| diagram | ![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type | extension of X3DMaterialNode | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| properties |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| children | IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| used by |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| attributes |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| annotation |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| source | <xs:element name="Material"> <xs:annotation> <xs:appinfo> <xs:attribute name="componentName" type="componentNameChoices" fixed="Shape"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/> </xs:appinfo> <xs:documentation source="https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/shape.html#Material"/> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:extension base="X3DMaterialNode"> <xs:attribute name="ambientIntensity" type="unitIntervalType" default="0.2"> <xs:annotation> <xs:appinfo> <xs:attribute name="componentName" type="componentNameChoices" fixed="Shape"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/> </xs:appinfo> </xs:annotation> </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:annotation> <xs:appinfo> <xs:attribute name="componentName" type="componentNameChoices" fixed="Shape"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/> A Material with emissiveColor not equal to (0,0,0) and diffuseColor equal to (0,0,0) is an unlit material. </xs:appinfo> </xs:annotation> </xs:attribute> <xs:attribute name="shininess" type="unitIntervalType" default="0.2"> <xs:annotation> <xs:appinfo> <xs:attribute name="componentName" type="componentNameChoices" fixed="Shape"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/> </xs:appinfo> </xs:annotation> </xs:attribute> <xs:attribute name="specularColor" type="SFColor" default="0 0 0"> <xs:annotation> <xs:appinfo> <xs:attribute name="componentName" type="componentNameChoices" fixed="Shape"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/> </xs:appinfo> </xs:annotation> </xs:attribute> <xs:attribute name="transparency" type="unitIntervalType" default="0"> <xs:annotation> <xs:appinfo> <xs:attribute name="componentName" type="componentNameChoices" fixed="Shape"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/> One-bit transparency; transparency values >= 0.5 are transparent. </xs:appinfo> </xs:annotation> </xs:attribute> <xs:attribute name="containerField" type="xs:NMTOKEN" default="material"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> |
| type | unitIntervalType | |||||||||
| properties |
|
|||||||||
| facets |
|
|||||||||
| annotation |
|
|||||||||
| source | <xs:attribute name="ambientIntensity" type="unitIntervalType" default="0.2"> <xs:annotation> <xs:appinfo> <xs:attribute name="componentName" type="componentNameChoices" fixed="Shape"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/> </xs:appinfo> </xs:annotation> </xs:attribute> |
| type | SFColor | |||||||||
| properties |
|
|||||||||
| facets |
|
|||||||||
| source | <xs:attribute name="diffuseColor" type="SFColor" default="0.8 0.8 0.8"/> |
| type | SFColor | |||||||||
| properties |
|
|||||||||
| facets |
|
|||||||||
| annotation |
|
|||||||||
| source | <xs:attribute name="emissiveColor" type="SFColor" default="0 0 0"> <xs:annotation> <xs:appinfo> <xs:attribute name="componentName" type="componentNameChoices" fixed="Shape"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/> A Material with emissiveColor not equal to (0,0,0) and diffuseColor equal to (0,0,0) is an unlit material. </xs:appinfo> </xs:annotation> </xs:attribute> |
| type | unitIntervalType | |||||||||
| properties |
|
|||||||||
| facets |
|
|||||||||
| annotation |
|
|||||||||
| source | <xs:attribute name="shininess" type="unitIntervalType" default="0.2"> <xs:annotation> <xs:appinfo> <xs:attribute name="componentName" type="componentNameChoices" fixed="Shape"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/> </xs:appinfo> </xs:annotation> </xs:attribute> |
| type | SFColor | |||||||||
| properties |
|
|||||||||
| facets |
|
|||||||||
| annotation |
|
|||||||||
| source | <xs:attribute name="specularColor" type="SFColor" default="0 0 0"> <xs:annotation> <xs:appinfo> <xs:attribute name="componentName" type="componentNameChoices" fixed="Shape"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/> </xs:appinfo> </xs:annotation> </xs:attribute> |
| type | unitIntervalType | |||||||||
| properties |
|
|||||||||
| facets |
|
|||||||||
| annotation |
|
|||||||||
| source | <xs:attribute name="transparency" type="unitIntervalType" default="0"> <xs:annotation> <xs:appinfo> <xs:attribute name="componentName" type="componentNameChoices" fixed="Shape"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/> One-bit transparency; transparency values >= 0.5 are transparent. </xs:appinfo> </xs:annotation> </xs:attribute> |
| type | xs:NMTOKEN | ||
| properties |
|
||
| source | <xs:attribute name="containerField" type="xs:NMTOKEN" default="material"/> |