Click or drag to resize
SoGLLightIdElementIncrement Method

Increments the current light id.

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public static int Increment(
	SoState state
)

Parameters

state
Type: OIV.Inventor.MiscSoState

Return Value

Type: Int32
Remarks

This should be called when a light source becomes active. This returns the new id, or -1 if the maximum number of GL light sources has been exceeded. Otherwise, enables light source.

See Also