public class SoVRMLPointLight extends SoVRMLLight
SoVRMLPointLightnode specifies a point light source at a 3D location in the local coordinate system. A point source emits light equally in all directions; that is, it is omnidirectional. SoVRMLPointLights are specified in their local coordinate system and are affected by parent transformations.
Note: SoVRMLPointLights only illuminate objects in their enclosing parent group (similar to Directional lights). This is a slight deviation from the behavior described by the VRML97 specification.
<font color="#0000FF">NOTE:</font> This class does not exist in Open Inventor 10.0 and later.
This section describes the expected behavior of the node in a conforming VRML97 browser application. In some cases, the application is responsible for implementing portions of the expected behavior. Open Inventor viewer classes and IVF classes implement some of the application behaviors.
This section may reference portions of the VRML97 specification that are not present in this help file. The complete VRML97 spec is available at
SoVRMLPointLight node specifies a point light source at a 3D location in the local coordinate system. A point source emits light equally in all directions; that is, it is omnidirectional. SoVRMLPointLights are specified in their local coordinate system and are affected by parent transformations.
See "Concepts - Light Sources" for a detailed description of the ambientIntensity , color , and intensity fields.
SoVRMLPointLight's illumination falls off with distance as specified by three
attenuation coefficients. The attenuation factor is
*r^2) , where
r is the distance of the light to the surface being illuminated. The default is no attenuation. An
attenuation value of 0 0 0 is identical to 1 0 0 . Attenuation values must be >= 0.0. Renderers that do not support a full attenuation model may approximate as necessary. See "Concepts -
Lighting Model" for a detailed description of VRML's lighting equations.
|attenuation||1 0 0|
|color||1 1 1|
|location||0 0 0|
|set_radius (Note: Not implemented)|
|radius_changed (Note: Not implemented)|
|Modifier and Type||Field and Description|
Location of the source.
(Note: Not implemented) Meters from the location the light can illuminate.
ambientIntensity, color, intensity, on
|Constructor and Description|
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public final SoSFVec3f location
public final SoSFFloat radius
public final SoSFVec3f attenuation
Generated on March 25, 2020, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com