Uses of Class
org.web3d.x3d.jsail.Rendering.Color
Packages that use Color
Package
Description
The Rendering component includes fundamental rendering primitives such as TriangleSet and PointSet nodes, as well as geometric properties nodes that define how coordinate indices, colors, normals and texture coordinates are specified.
-
Uses of Color in org.web3d.x3d.jsail.Rendering
Methods in org.web3d.x3d.jsail.Rendering that return ColorModifier and TypeMethodDescriptionAdd singleton SFColor value to MFColor color field.Color.addComments
(String newComment) Add comment as String to contained commentsList.Color.addComments
(String[] newComments) Add comments as String[] array to contained commentsList.Color.addComments
(CommentsBlock newCommentsBlock) Add CommentsBlock to contained commentsList.Color.clearIS()
Utility method to clear SFNode value of IS field.Color.clearMetadata()
Utility method to clear SFNode value of metadata field.Color.setColor
(double[] newArray) Utility method: double-precision set-array accessor for X3D floating-point type, similar tosetColor(float[])
.Color.setColor
(float[] newValue) Accessor method to assign 3-tuple float array using RGB values [0..1] to inputOutput MFColor field named color.Assign typed object value to MFColor color field, similar tosetColor(float[])
.final Color
Color.setCssClass
(String newValue) Accessor method to assign String value to inputOutput SFString field named class.Color.setCssClass
(SFString newValue) Assign typed object value to SFString cssClass field, similar tosetCssClass(String)
.final Color
Color.setCssStyle
(String newValue) Accessor method to assign String value to inputOutput SFString field named style.Color.setCssStyle
(SFString newValue) Assign typed object value to SFString cssClass field, similar tosetCssStyle(String)
.final Color
Accessor method to assign String value to inputOutput SFString field named DEF.Assign typed object value to SFString DEF field, similar tosetDEF(String)
.final Color
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.Color.setMetadata
(ProtoInstance newValue) Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.Color.setMetadata
(X3DMetadataObject newValue) Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.final Color
Accessor method to assign String value to inputOutput SFString field named USE.Assign typed object value to SFString USE field, similar tosetUSE(String)
.Assign a USE reference to another DEF node of same node type, similar tosetUSE(String)
.Methods in org.web3d.x3d.jsail.Rendering with parameters of type ColorModifier and TypeMethodDescriptionAssign a USE reference to another DEF node of same node type, similar tosetUSE(String)
.