complexType X3DTextureProjectorNode
diagram x3d-4.0_diagrams/x3d-4.0_p391.png
type extension of X3DLightNode
properties
base X3DLightNode
abstract true
children IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString ImageTexture MovieTexture PixelTexture ProtoInstance
used by
elements TextureProjector TextureProjectorParallel
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.
               
ambientIntensity  unitIntervalType    0    
color  SFColor    1 1 1    
intensity  derived by: SFFloat    1    
appinfo
No upper limit on X3D4 lights, matching glTF Physically Based Rendering (PBR)
on  SFBool    true    
shadows  SFBool    false    
shadowIntensity  unitIntervalType    1    
description  SFString        
direction  SFVec3f    0 0 1    
farDistance  derived by: SFFloat    -1    
global  SFBool    true    
location  SFVec3f    0 0 0    
nearDistance  derived by: SFFloat    -1    
upVector  SFVec3f    0 1 0    
annotation
appinfo
<xs:element name="texture" type="SFNode" fixed="inputOutputField" default="X3DTexture2DNode"/>
<xs:attribute name="aspectRatio" fixed="outputOnlyField">
<xs:simpleType>
<xs:restriction base="SFFloat">
<xs:minExclusive value="0"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="componentName" type="componentNameChoices" fixed="TextureProjection"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="4"/>
                Base type for all node types that specify texture projector nodes, which provide a form of lighting.
           
source <xs:complexType name="X3DTextureProjectorNode" abstract="true">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:element name="texture" type="SFNode" fixed="inputOutputField" default="X3DTexture2DNode"/>
     
<xs:attribute name="aspectRatio" fixed="outputOnlyField">
       
<xs:simpleType>
         
<xs:restriction base="SFFloat">
           
<xs:minExclusive value="0"/>
         
</xs:restriction>
       
</xs:simpleType>
     
</xs:attribute>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="TextureProjection"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="4"/>
                Base type for all node types that specify texture projector nodes, which provide a form of lighting.
           
</xs:appinfo>
   
<xs:documentation source="https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/textureProjector.html#X3DTextureProjectorNode"/>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="X3DLightNode">
     
<xs:choice minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>texture</xs:documentation>
       
</xs:annotation>
       
<xs:element ref="ImageTexture"/>
       
<xs:element ref="MovieTexture"/>
       
<xs:element ref="PixelTexture"/>
       
<xs:element ref="ProtoInstance">
         
<xs:annotation>
           
<xs:documentation>Appropriately typed substitution node</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:choice>
     
<xs:attribute name="description" type="SFString"/>
     
<xs:attribute name="direction" type="SFVec3f" default="0 0 1"/>
     
<xs:attribute name="farDistance" default="-1">
       
<xs:simpleType>
         
<xs:restriction base="SFFloat">
           
<xs:minInclusive value="-1"/>
           
<!-- TODO -1 or [0,infinity) -->
         
</xs:restriction>
       
</xs:simpleType>
     
</xs:attribute>
     
<xs:attribute name="global" type="SFBool" default="true"/>
     
<xs:attribute name="location" type="SFVec3f" default="0 0 0"/>
     
<xs:attribute name="nearDistance" default="-1">
       
<xs:simpleType>
         
<xs:restriction base="SFFloat">
           
<xs:minInclusive value="-1"/>
           
<!-- TODO -1 or [0,infinity) -->
         
</xs:restriction>
       
</xs:simpleType>
     
</xs:attribute>
     
<xs:attribute name="upVector" type="SFVec3f" default="0 1 0"/>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

attribute X3DTextureProjectorNode/@description
type SFString
source <xs:attribute name="description" type="SFString"/>

attribute X3DTextureProjectorNode/@direction
type SFVec3f
properties
default 0 0 1
facets
Kind Value Annotation
whiteSpace collapse
pattern \s*(([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s+){2}([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*
source <xs:attribute name="direction" type="SFVec3f" default="0 0 1"/>

attribute X3DTextureProjectorNode/@farDistance
type restriction of SFFloat
properties
default -1
facets
Kind Value Annotation
minInclusive -1
pattern \s*([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*
source <xs:attribute name="farDistance" default="-1">
 
<xs:simpleType>
   
<xs:restriction base="SFFloat">
     
<xs:minInclusive value="-1"/>
     
<!-- TODO -1 or [0,infinity) -->
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute X3DTextureProjectorNode/@global
type SFBool
properties
default true
source <xs:attribute name="global" type="SFBool" default="true"/>

attribute X3DTextureProjectorNode/@location
type SFVec3f
properties
default 0 0 0
facets
Kind Value Annotation
whiteSpace collapse
pattern \s*(([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s+){2}([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*
source <xs:attribute name="location" type="SFVec3f" default="0 0 0"/>

attribute X3DTextureProjectorNode/@nearDistance
type restriction of SFFloat
properties
default -1
facets
Kind Value Annotation
minInclusive -1
pattern \s*([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*
source <xs:attribute name="nearDistance" default="-1">
 
<xs:simpleType>
   
<xs:restriction base="SFFloat">
     
<xs:minInclusive value="-1"/>
     
<!-- TODO -1 or [0,infinity) -->
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute X3DTextureProjectorNode/@upVector
type SFVec3f
properties
default 0 1 0
facets
Kind Value Annotation
whiteSpace collapse
pattern \s*(([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s+){2}([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*
source <xs:attribute name="upVector" type="SFVec3f" default="0 1 0"/>


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