Uses of Class
org.web3d.x3d.jsail.Shaders.ShaderPart
Package
Description
The Programmable Shaders component describes how programmable shaders are specified and how they affect the visual appearance of geometry.
-
Uses of ShaderPart in org.web3d.x3d.jsail.Shaders
Modifier and TypeMethodDescriptionShaderPart.addComments
(String newComment) Add comment as String to contained commentsList.ShaderPart.addComments
(String[] newComments) Add comments as String[] array to contained commentsList.ShaderPart.addComments
(CommentsBlock newCommentsBlock) Add CommentsBlock to contained commentsList.Add singleton String value to MFString url field.Add singleton SFString value to MFString url field.ShaderPart.appendSourceCode
(String newSourceCode) Append source code (for example, JavaScript)ShaderPart.appendSourceCode
(StringBuilder newSourceCode) Append source code (for example, JavaScript)ShaderPart.clearIS()
Utility method to clear SFNode value of IS field.ShaderPart.clearMetadata()
Utility method to clear SFNode value of metadata field.ShaderPart.clearSourceCode()
Clear all contained CDATA source code.ShaderPart.clearUrl()
Utility method to clear MFString value of url field.ShaderPart.setAutoRefresh
(double newValue) Accessor method to assign double value in seconds to inputOutput SFTime field named autoRefresh.ShaderPart.setAutoRefresh
(SFTime newValue) Assign typed object value to SFTime autoRefresh field, similar tosetAutoRefresh(double)
.ShaderPart.setAutoRefreshTimeLimit
(double newValue) Accessor method to assign double value in seconds to inputOutput SFTime field named autoRefreshTimeLimit.ShaderPart.setAutoRefreshTimeLimit
(SFTime newValue) Assign typed object value to SFTime autoRefreshTimeLimit field, similar tosetAutoRefreshTimeLimit(double)
.final ShaderPart
ShaderPart.setCssClass
(String newValue) Accessor method to assign String value to inputOutput SFString field named class.ShaderPart.setCssClass
(SFString newValue) Assign typed object value to SFString cssClass field, similar tosetCssClass(String)
.final ShaderPart
ShaderPart.setCssStyle
(String newValue) Accessor method to assign String value to inputOutput SFString field named style.ShaderPart.setCssStyle
(SFString newValue) Assign typed object value to SFString cssClass field, similar tosetCssStyle(String)
.final ShaderPart
Accessor method to assign String value to inputOutput SFString field named DEF.Assign typed object value to SFString DEF field, similar tosetDEF(String)
.ShaderPart.setDescription
(String newValue) Accessor method to assign String value to inputOutput SFString field named description.ShaderPart.setDescription
(SFString newValue) Assign typed object value to SFString description field, similar tosetDescription(String)
.final ShaderPart
Accessor method to assign String value to inputOutput SFString field named id.Assign typed object value to SFString HtmlID field, similar tosetHtmlID(String)
.Accessor method to assign IS instance (using a properly typed node) to inputOutput SFNode field IS.ShaderPart.setLoad
(boolean newValue) Accessor method to assign boolean value to inputOutput SFBool field named load.Assign typed object value to SFBool load field, similar tosetLoad(boolean)
.ShaderPart.setMetadata
(ProtoInstance newValue) Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.ShaderPart.setMetadata
(X3DMetadataObject newValue) Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.ShaderPart.setSourceCode
(String newValue) Accessor method to assign String value to inputOutput SFString field named sourceCode.ShaderPart.setSourceCode
(StringBuilder newSourceCode) Set new source code (for example, JavaScript), utility method using StringBuilder.ShaderPart.setSourceCode
(SFString newValue) Assign typed object value to SFString sourceCode field, similar tosetSourceCode(String)
.Accessor method to assign String enumeration value ("VERTEX" | "FRAGMENT") to initializeOnly SFString field named type.Assign typed object value to SFString type field, similar tosetType(String)
.Assign singleton String value to MFString url field, similar tosetUrl(String[])
.Accessor method to assign String array to inputOutput MFString field named url.Assign ArrayList value of MFString url field, similar tosetUrl(String[])
.Assign typed object value to MFString url field, similar tosetUrl(String[])
.Assign single SFString object value to MFString url field, similar tosetUrl(String[])
.final ShaderPart
Accessor method to assign String value to inputOutput SFString field named USE.Assign typed object value to SFString USE field, similar tosetUSE(String)
.ShaderPart.setUSE
(ShaderPart DEFnode) Assign a USE reference to another DEF node of same node type, similar tosetUSE(String)
.Modifier and TypeMethodDescriptionComposedShader.addParts
(ShaderPart newValue) Add single child node to existing array of parts nodes (if any).ShaderPart.setUSE
(ShaderPart DEFnode) Assign a USE reference to another DEF node of same node type, similar tosetUSE(String)
.