Uses of Interface
org.web3d.x3d.sai.Lighting.SpotLight
Package
Description
The Lighting component specifies how light sources are defined and positioned, as well as how lights effect the rendered image.
The Lighting component specifies how light sources are defined and positioned, as well as how lights effect the rendered image.
-
Uses of SpotLight in org.web3d.x3d.jsail.Lighting
Modifier and TypeClassDescriptionclass
Linear attenuation may occur at level 2, full support at level 3. -
Uses of SpotLight in org.web3d.x3d.sai.Lighting
Modifier and TypeMethodDescriptionSpotLight.setAmbientIntensity
(float newValue) Accessor method to assign float value to inputOutput SFFloat field named ambientIntensity.SpotLight.setAttenuation
(float[] newValue) Accessor method to assign 3-tuple float array to inputOutput SFVec3f field named attenuation.SpotLight.setBeamWidth
(float newValue) Accessor method to assign float value to inputOutput SFFloat field named beamWidth.SpotLight.setColor
(float[] newValue) Accessor method to assign 3-tuple float array using RGB values [0..1] to inputOutput SFColor field named color.SpotLight.setCutOffAngle
(float newValue) Accessor method to assign float value unit axis, angle (in radians) to inputOutput SFFloat field named cutOffAngle.SpotLight.setDirection
(float[] newValue) Accessor method to assign 3-tuple float array to inputOutput SFVec3f field named direction.SpotLight.setGlobal
(boolean newValue) Accessor method to assign boolean value to inputOutput SFBool field named global.SpotLight.setIntensity
(float newValue) Accessor method to assign float value to inputOutput SFFloat field named intensity.SpotLight.setLocation
(float[] newValue) Accessor method to assign 3-tuple float array to inputOutput SFVec3f field named location.SpotLight.setMetadata
(X3DMetadataObject newValue) Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.SpotLight.setOn
(boolean newValue) Accessor method to assign boolean value to inputOutput SFBool field named on.SpotLight.setRadius
(float newValue) Accessor method to assign float value to inputOutput SFFloat field named radius.SpotLight.setShadowIntensity
(float newValue) Accessor method to assign float value to inputOutput SFFloat field named shadowIntensity.SpotLight.setShadows
(boolean newValue) Accessor method to assign boolean value to inputOutput SFBool field named shadows.