SoGLLightIdElementIncrement Method |
Increments the current light id.
Namespace: OIV.Inventor.ElementsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntaxpublic static int Increment(
SoState state
)
Public Shared Function Increment (
state As SoState
) As Integer
public:
static int Increment(
SoState^ state
)
static member Increment :
state : SoState -> int
Parameters
- state
- Type: OIV.Inventor.MiscSoState
Return Value
Type:
Int32
RemarksThis 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