element FloatVertexAttribute
diagram x3d-3.1_p46.png
type extension of X3DVertexAttributeNode
properties
content complex
children IS MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString
used by
element ElevationGrid
group 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.
name  SFString        
appinfo
name attribute is required, unless this is a USE node
value  MFFloat        
numComponents  derived by: SFInt32    4    
containerField  xs:NMTOKEN    attrib    
annotation
appinfo
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Shaders"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
source <xs:element name="FloatVertexAttribute">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Shaders"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="1"/>
   
</xs:appinfo>
   
<xs:documentation source="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/shaders.html#FloatVertexAttribute"/>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="X3DVertexAttributeNode">
       
<xs:attribute name="value" type="MFFloat"/>
       
<xs:attribute name="numComponents" default="4">
         
<xs:simpleType>
           
<xs:restriction base="SFInt32">
             
<xs:minInclusive value="1"/>
             
<xs:maxInclusive value="4"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
       
<xs:attribute name="containerField" type="xs:NMTOKEN" default="attrib"/>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

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

attribute FloatVertexAttribute/@numComponents
type restriction of SFInt32
properties
default 4
facets
Kind Value Annotation
minInclusive 1
maxInclusive 4
source <xs:attribute name="numComponents" default="4">
 
<xs:simpleType>
   
<xs:restriction base="SFInt32">
     
<xs:minInclusive value="1"/>
     
<xs:maxInclusive value="4"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

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


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