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

                    DEF defines a unique ID name for each node, referenceable 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 Cascading Style Sheets (CSS) and XML stylesheets.
                    This attribute is only functional if the X3D model is loaded within an HTML page.
               
id  xs:NMTOKEN        
appinfo

                    The id attribute is a unique identifier, reserved for use by HTML5/DOM pages, independent of DEF labeling and internal X3D node referencing.
                    This attribute is only functional if the X3D model is loaded within an HTML page.
               
style  SFString        
appinfo

                    The style attribute provides an inline block of CSS for element styling, reserved for use by Cascading Style Sheets (CSS) and XML stylesheets.
                    This attribute is only functional if the X3D model is loaded within an HTML page.
               
mapping  xs:NMTOKEN        
mode  textureCoordinateGeneratorModeChoices    SPHERE    
parameter  MFFloat        
containerField  containerFieldChoicesTextureCoordinate    texCoord    
annotation
appinfo
<xs:attribute name="componentName" type="componentNameChoices" 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="componentNameChoices" fixed="Texturing"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
   
</xs:appinfo>
   
<xs:documentation source="https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/Part01/components/texturing.html#TextureCoordinateGenerator"/>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="X3DSingleTextureCoordinateNode">
       
<xs:attribute name="mode" type="textureCoordinateGeneratorModeChoices" default="SPHERE"/>
       
<xs:attribute name="parameter" type="MFFloat"/>
       
<xs:attribute name="containerField" type="containerFieldChoicesTextureCoordinate" default="texCoord"/>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

attribute TextureCoordinateGenerator/@mode
type textureCoordinateGeneratorModeChoices
properties
default SPHERE
facets
Kind Value Annotation
enumeration SPHERE
appinfo
Creates texture coordinates for a spherical environment
enumeration CAMERASPACENORMAL
appinfo
Use vertex normal, transformed to camera space, as input texture coordinates
enumeration CAMERASPACEPOSITION
appinfo
Use vertex position, transformed to camera space, as input texture coordinates
enumeration CAMERASPACEREFLECTIONVECTOR
appinfo
Use reflection vector, transformed to camera space, as input texture coordinates
enumeration SPHERE-LOCAL
appinfo
Sphere mapping but in local coordinates
enumeration COORD
appinfo
Use vertex coordinates
enumeration COORD-EYE
appinfo
Use vertex coordinates transformed to camera space
enumeration NOISE
appinfo
Apply Perlin solid noise function on vertex coordinates
enumeration NOISE-EYE
appinfo
Apply Perlin solid noise function on vertex coordinates transformed to camera space
enumeration SPHERE-REFLECT
appinfo
similar to CAMERASPACEREFLECTIONVECTOR with optional index of refraction
enumeration SPHERE-REFLECT-LOCAL
appinfo
Similar to SPHERE-REFLECT transformed to camera space
source <xs:attribute name="mode" type="textureCoordinateGeneratorModeChoices" default="SPHERE"/>

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

attribute TextureCoordinateGenerator/@containerField
type containerFieldChoicesTextureCoordinate
properties
default texCoord
facets
Kind Value Annotation
enumeration texCoord
appinfo
parent node is a geometry node
enumeration texCoordRamp
appinfo
parent node is ParticleSystem
source <xs:attribute name="containerField" type="containerFieldChoicesTextureCoordinate" default="texCoord"/>


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