HTML Encoding and Default Values⤴
                <ShaderPart
                
                metadata='X3DMetadataObject'
                
                type='"VERTEX"'
                
                url='[]'
                
                ></ShaderPart>
            
        Inheritance⤴
- X3DNode(18)
 - ShaderPart
 
Constructor⤴
- 
    
ShaderPart(ctx)⤴
 - 
        
        Constructor for ShaderPart
Parameters:
Name Type Argument Default Description ctxObject <optional> 
null context object, containing initial settings like namespace  
Fields⤴
            These are the X3D / X3DOM fields of this node. Values should usually be received / set as strings via
            DOM functions (i.e., using
            
        
setAttribute("myFieldName", "myFieldValue") and
            getAttribute("myFieldName")).
        | Name | Type | Default Value | Range | Inheritance | Standard | Description | 
|---|---|---|---|---|---|---|
| metadata | SFNode | X3DMetadataObject | X3DNode | 
                
                     
                
             | 
            Field to add metadata information | |
| type | SFString | "VERTEX" | 
                
                     
                
             | 
            The type field indicates whether this object shall be compiled as a vertex shader, fragment shader, or other future-defined shader type. | ||
| url | MFString | [] | 
                
                     
                
             | 
            The shader source is read from the URL specified by the url field. When the url field contains no values ([]), this object instance is ignored. | 
 documentation