Uses of Class
org.web3d.x3d.jsail.Lighting.DirectionalLight
Package
Description
The Lighting component specifies how light sources are defined and positioned, as well as how lights effect the rendered image.
-
Uses of DirectionalLight in org.web3d.x3d.jsail.Lighting
Modifier and TypeMethodDescriptionDirectionalLight.addComments
(String newComment) Add comment as String to contained commentsList.DirectionalLight.addComments
(String[] newComments) Add comments as String[] array to contained commentsList.DirectionalLight.addComments
(CommentsBlock newCommentsBlock) Add CommentsBlock to contained commentsList.DirectionalLight.clearIS()
Utility method to clear SFNode value of IS field.DirectionalLight.clearMetadata()
Utility method to clear SFNode value of metadata field.DirectionalLight.setAmbientIntensity
(double newValue) Utility method: double-precision set-parameter accessor for X3D floating-point type, similar tosetAmbientIntensity(float)
.DirectionalLight.setAmbientIntensity
(float newValue) Accessor method to assign float value to inputOutput SFFloat field named ambientIntensity.DirectionalLight.setAmbientIntensity
(SFFloat newValue) Assign typed object value to SFFloat ambientIntensity field, similar tosetAmbientIntensity(float)
.DirectionalLight.setColor
(double[] newArray) Utility method: double-precision set-parameters accessor for X3D floating-point type, similar tosetColor(float[])
.DirectionalLight.setColor
(double red, double green, double blue) Utility method: double-precision set-parameters accessor for X3D floating-point type, similar tosetColor(float[])
.DirectionalLight.setColor
(float[] newValue) Accessor method to assign 3-tuple float array using RGB values [0..1] to inputOutput SFColor field named color.DirectionalLight.setColor
(float red, float green, float blue) Assign values to SFColor color field, similar tosetColor(float[])
.Assign typed object value to SFColor color field, similar tosetColor(float[])
.final DirectionalLight
DirectionalLight.setCssClass
(String newValue) Accessor method to assign String value to inputOutput SFString field named class.DirectionalLight.setCssClass
(SFString newValue) Assign typed object value to SFString cssClass field, similar tosetCssClass(String)
.final DirectionalLight
DirectionalLight.setCssStyle
(String newValue) Accessor method to assign String value to inputOutput SFString field named style.DirectionalLight.setCssStyle
(SFString newValue) Assign typed object value to SFString cssClass field, similar tosetCssStyle(String)
.final DirectionalLight
Accessor method to assign String value to inputOutput SFString field named DEF.Assign typed object value to SFString DEF field, similar tosetDEF(String)
.DirectionalLight.setDirection
(double[] newArray) Utility method: double-precision set-array accessor for X3D floating-point type, similar tosetDirection(float[])
.DirectionalLight.setDirection
(double x, double y, double z) Utility method: double-precision set-parameters accessor for X3D floating-point type, similar tosetDirection(float[])
.DirectionalLight.setDirection
(float[] newValue) Accessor method to assign 3-tuple float array to inputOutput SFVec3f field named direction.DirectionalLight.setDirection
(float x, float y, float z) Assign values to SFVec3f direction field, similar tosetDirection(float[])
.DirectionalLight.setDirection
(SFVec3f newValue) Assign typed object value to SFVec3f direction field, similar tosetDirection(float[])
.DirectionalLight.setGlobal
(boolean newValue) Accessor method to assign boolean value to inputOutput SFBool field named global.Assign typed object value to SFBool global field, similar tosetGlobal(boolean)
.final DirectionalLight
Accessor method to assign String value to inputOutput SFString field named id.Assign typed object value to SFString HtmlID field, similar tosetHtmlID(String)
.DirectionalLight.setIntensity
(double newValue) Utility method: double-precision set-parameter accessor for X3D floating-point type, similar tosetIntensity(float)
.DirectionalLight.setIntensity
(float newValue) Accessor method to assign float value to inputOutput SFFloat field named intensity.DirectionalLight.setIntensity
(SFFloat newValue) Assign typed object value to SFFloat intensity field, similar tosetIntensity(float)
.Accessor method to assign IS instance (using a properly typed node) to inputOutput SFNode field IS.DirectionalLight.setMetadata
(ProtoInstance newValue) Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.DirectionalLight.setMetadata
(X3DMetadataObject newValue) Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.DirectionalLight.setOn
(boolean newValue) Accessor method to assign boolean value to inputOutput SFBool field named on.Assign typed object value to SFBool on field, similar tosetOn(boolean)
.DirectionalLight.setShadowIntensity
(double newValue) Utility method: double-precision set-parameter accessor for X3D floating-point type, similar tosetShadowIntensity(float)
.DirectionalLight.setShadowIntensity
(float newValue) Accessor method to assign float value to inputOutput SFFloat field named shadowIntensity.DirectionalLight.setShadowIntensity
(SFFloat newValue) Assign typed object value to SFFloat shadowIntensity field, similar tosetShadowIntensity(float)
.DirectionalLight.setShadows
(boolean newValue) Accessor method to assign boolean value to inputOutput SFBool field named shadows.DirectionalLight.setShadows
(SFBool newValue) Assign typed object value to SFBool shadows field, similar tosetShadows(boolean)
.final DirectionalLight
Accessor method to assign String value to inputOutput SFString field named USE.Assign typed object value to SFString USE field, similar tosetUSE(String)
.DirectionalLight.setUSE
(DirectionalLight DEFnode) Assign a USE reference to another DEF node of same node type, similar tosetUSE(String)
.Modifier and TypeMethodDescriptionDirectionalLight.setUSE
(DirectionalLight DEFnode) Assign a USE reference to another DEF node of same node type, similar tosetUSE(String)
.