element TextureCoordinateGenerator
diagram x3d-3.1_p154.png
type extension of X3DTextureCoordinateNode
properties
content complex
children IS MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString
used by
elements ElevationGrid MultiTextureCoordinate NurbsPatchSurface NurbsTrimmedSurface
groups ColorCoordinateNormalTexCoordContentModel ColorNormalTexCoordContentModel ComposedGeometryContentModel
attributes
Name  Type  Use  Default  Fixed  Annotation
DEF  xs:ID        
appinfo

DEF defines a unique ID name for each node, referencable by other nodes.
USE  xs:IDREF        
appinfo

USE means reuse an already DEF-ed node ID, excluding all child nodes and all other attributes (except for containerField, which can have a different value).
class  xs:NMTOKENS        
appinfo

The class attribute is a space-separated list of classes, reserved for use by XML stylesheets.
mode  textureCoordinateGeneratorModeValues    SPHERE    
parameter  MFFloat        
containerField  xs:NMTOKEN    texCoord    
annotation
appinfo
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Texturing"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
source <xs:element name="TextureCoordinateGenerator">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Texturing"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
   
</xs:appinfo>
   
<xs:documentation source="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/texturing.html#TextureCoordinateGenerator"/>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="X3DTextureCoordinateNode">
       
<xs:attribute name="mode" type="textureCoordinateGeneratorModeValues" default="SPHERE"/>
       
<xs:attribute name="parameter" type="MFFloat"/>
       
<xs:attribute name="containerField" type="xs:NMTOKEN" default="texCoord"/>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

attribute TextureCoordinateGenerator/@mode
type textureCoordinateGeneratorModeValues
properties
default SPHERE
facets
Kind Value Annotation
enumeration SPHERE
enumeration CAMERASPACENORMAL
enumeration CAMERASPACEPOSITION
enumeration CAMERASPACEREFLECTIONVECTOR
enumeration SPHERE-LOCAL
enumeration COORD
enumeration COORD-EYE
enumeration NOISE
enumeration NOISE-EYE
enumeration SPHERE-REFLECT
enumeration SPHERE-REFLECT-LOCAL
source <xs:attribute name="mode" type="textureCoordinateGeneratorModeValues" default="SPHERE"/>

attribute TextureCoordinateGenerator/@parameter
type MFFloat
facets
Kind Value Annotation
whiteSpace collapse
pattern (((\+|\-)?(0|[1-9][0-9]*)?(\.[0-9]*)?((E|e)(\+|\-)?[0-9]+)?)?( )?(,)?( )?)*
source <xs:attribute name="parameter" type="MFFloat"/>

attribute TextureCoordinateGenerator/@containerField
type xs:NMTOKEN
properties
default texCoord
source <xs:attribute name="containerField" type="xs:NMTOKEN" default="texCoord"/>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy