| 1 |
NAME SoPointLight SoPtLt "" { |
| 2 |
node representing a point light source |
| 3 |
} |
| 4 |
|
| 5 |
INCLUDE nodes/SoPointLight.h |
| 6 |
|
| 7 |
DESC { |
| 8 |
This node defines a point light source at a fixed 3D location. A |
| 9 |
point source illuminates equally in all directions; that is, it is |
| 10 |
omni-directional. |
| 11 |
} |
| 12 |
|
| 13 |
FIELD location { Location of the source. } |
| 14 |
|
| 15 |
METHOD "" SoPointLight() { |
| 16 |
Creates a point light source node with default settings. |
| 17 |
} |
| 18 |
|
| 19 |
METHOD "" static SoType getClassTypeId() { |
| 20 |
Returns type identifier for this class. |
| 21 |
} |
| 22 |
|
| 23 |
ACTION SoGLRenderAction { |
| 24 |
Activates this light (if so specified) during traversal. All shape |
| 25 |
nodes that come after this light in the scene graph are illuminated by |
| 26 |
this light. The light's location is affected by the current |
| 27 |
transformation. |
| 28 |
} |
| 29 |
|
| 30 |
ALSO { SoDirectionalLight, SoSpotLight } |