File: SoLight.ivm

package info (click to toggle)
inventor 2.1.5-10-14
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 32,892 kB
  • ctags: 21,729
  • sloc: ansic: 33,867; lisp: 7,361; cpp: 3,874; yacc: 369; sh: 359; perl: 234; awk: 141; makefile: 76; csh: 35; sed: 11
file content (42 lines) | stat: -rw-r--r-- 1,226 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
NAME SoLight SoLight "" { abstract base class for all light source nodes }

INCLUDE nodes/SoLight.h

DESC {
\cSoLight\. is the abstract base class for all light nodes. A light
node defines an illumination source that may affect subsequent shapes
in the scene graph, depending on the current lighting style.
Light sources are affected by the current transformation. A light node
under a separator does not affect any objects outside that separator.
\p
You can also use a node kit to create a light; see the reference page for
\cSoLightKit\..
}

FIELD on {
Determines whether the source is active or inactive. When inactive, the
source does not illuminate at all.
}

FIELD intensity {
Illumination intensity of light source. Valid values range from 0.0
(no illumination) to 1.0 (maximum illumination).
}

FIELD color { Light source illumination color. }

METHOD "" static SoType getClassTypeId() {
Returns type identifier for this class.
}

ACTION SoGLRenderAction {
Activates this light (if so specified) during traversal. All shape
nodes that come after this light in the scene graph are illuminated by
this light.
}

ALSO {
SoDirectionalLight, SoEnvironment,
SoLightKit, SoLightModel, SoMaterial, SoPointLight,
SoSpotLight
}