| Package | Description |
|---|---|
| org.web3d.x3d.jsail.Lighting |
The Lighting component specifies how light sources are defined and positioned, as
well as how lights effect the rendered image.
|
| Modifier and Type | Method and Description |
|---|---|
SpotLightObject |
SpotLightObject.addComments(CommentsBlock newCommentsBlock)
Add CommentsBlock to contained commentsList.
|
SpotLightObject |
SpotLightObject.addComments(java.lang.String newComment)
Add comment as String to contained commentsList.
|
SpotLightObject |
SpotLightObject.addComments(java.lang.String[] newComments)
Add comments as String[] array to contained commentsList.
|
SpotLightObject |
SpotLightObject.clearMetadata()
Utility method to clear SFNode value of metadata field.
|
SpotLightObject |
SpotLightObject.setAmbientIntensity(float newValue)
Assign float value within allowed range of [0,1] to inputOutput SFFloat field named ambientIntensity.
|
SpotLightObject |
SpotLightObject.setAmbientIntensity(SFFloatObject newValue)
Assign typed object value to SFFloat ambientIntensity field, similar to
setAmbientIntensity(float). |
SpotLightObject |
SpotLightObject.setAttenuation(float[] newValue)
Assign 3-tuple float array within allowed range of [0,infinity) to inputOutput SFVec3f field named attenuation.
|
SpotLightObject |
SpotLightObject.setAttenuation(float x,
float y,
float z)
Assign values to SFVec3f attenuation field, similar to
setAttenuation(float[]). |
SpotLightObject |
SpotLightObject.setAttenuation(SFVec3fObject newValue)
Assign typed object value to SFVec3f attenuation field, similar to
setAttenuation(float[]). |
SpotLightObject |
SpotLightObject.setBeamWidth(float newValue)
Assign float value within allowed range of (0,1.570796] to inputOutput SFFloat field named beamWidth.
|
SpotLightObject |
SpotLightObject.setBeamWidth(SFFloatObject newValue)
Assign typed object value to SFFloat beamWidth field, similar to
setBeamWidth(float). |
SpotLightObject |
SpotLightObject.setColor(float[] newValue)
Assign 3-tuple float array using RGB values [0..1] using RGB values [0..1] to inputOutput SFColor field named color.
|
SpotLightObject |
SpotLightObject.setColor(float red,
float green,
float blue)
Assign values to SFColor color field, similar to
setColor(float[]). |
SpotLightObject |
SpotLightObject.setColor(SFColorObject newValue)
Assign typed object value to SFColor color field, similar to
setColor(float[]). |
SpotLightObject |
SpotLightObject.setCssClass(SFStringObject newValue)
Assign typed object value to SFString cssClass field, similar to
setCssClass(String). |
SpotLightObject |
SpotLightObject.setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
SpotLightObject |
SpotLightObject.setCutOffAngle(float newValue)
Assign float value unit axis, angle (in radians) within allowed range of (0,1.570796] to inputOutput SFFloat field named cutOffAngle.
|
SpotLightObject |
SpotLightObject.setCutOffAngle(SFFloatObject newValue)
Assign typed object value to SFFloat cutOffAngle field, similar to
setCutOffAngle(float). |
SpotLightObject |
SpotLightObject.setDEF(SFStringObject newValue)
Assign typed object value to SFString DEF field, similar to
setDEF(String). |
SpotLightObject |
SpotLightObject.setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
SpotLightObject |
SpotLightObject.setDirection(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named direction.
|
SpotLightObject |
SpotLightObject.setDirection(float x,
float y,
float z)
Assign values to SFVec3f direction field, similar to
setDirection(float[]). |
SpotLightObject |
SpotLightObject.setDirection(SFVec3fObject newValue)
Assign typed object value to SFVec3f direction field, similar to
setDirection(float[]). |
SpotLightObject |
SpotLightObject.setGlobal(boolean newValue)
Assign boolean value to inputOutput SFBool field named global.
|
SpotLightObject |
SpotLightObject.setGlobal(SFBoolObject newValue)
Assign typed object value to SFBool global field, similar to
setGlobal(boolean). |
SpotLightObject |
SpotLightObject.setIntensity(float newValue)
Assign float value within allowed range of [0,1] to inputOutput SFFloat field named intensity.
|
SpotLightObject |
SpotLightObject.setIntensity(SFFloatObject newValue)
Assign typed object value to SFFloat intensity field, similar to
setIntensity(float). |
SpotLightObject |
SpotLightObject.setIS(ISObject newValue)
Assign field named IS for establishing IS/connect field connections between ProtoInterface fields and internal ProtoBody nodes.
|
SpotLightObject |
SpotLightObject.setLocation(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named location.
|
SpotLightObject |
SpotLightObject.setLocation(float x,
float y,
float z)
Assign values to SFVec3f location field, similar to
setLocation(float[]). |
SpotLightObject |
SpotLightObject.setLocation(SFVec3fObject newValue)
Assign typed object value to SFVec3f location field, similar to
setLocation(float[]). |
SpotLightObject |
SpotLightObject.setMetadata(ProtoInstanceObject newValue)
Assign ProtoInstance (using a properly typed node) to inputOutput SFNode field metadata.
|
SpotLightObject |
SpotLightObject.setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
SpotLightObject |
SpotLightObject.setOn(boolean newValue)
Assign boolean value to inputOutput SFBool field named on.
|
SpotLightObject |
SpotLightObject.setOn(SFBoolObject newValue)
Assign typed object value to SFBool on field, similar to
setOn(boolean). |
SpotLightObject |
SpotLightObject.setRadius(float newValue)
Assign float value within allowed range of [0,infinity) to initializeOnly SFFloat field named radius.
|
SpotLightObject |
SpotLightObject.setRadius(SFFloatObject newValue)
Assign typed object value to SFFloat radius field, similar to
setRadius(float). |
SpotLightObject |
SpotLightObject.setUSE(SFStringObject newValue)
Assign typed object value to SFString USE field, similar to
setUSE(String). |
SpotLightObject |
SpotLightObject.setUSE(SpotLightObject DEFnode)
Assign a USE reference to another DEF node of same node type, similar to
setUSE(String). |
SpotLightObject |
SpotLightObject.setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
| Modifier and Type | Method and Description |
|---|---|
SpotLightObject |
SpotLightObject.setUSE(SpotLightObject DEFnode)
Assign a USE reference to another DEF node of same node type, similar to
setUSE(String). |
Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.