This function is mainly for internal use. It simply increments the internal object ID number and returns the new value. Negative values have no effect.

rgl.incrementID(n = 1L)

Arguments

n

An integer increment to use.

Value

The resulting ID value.

Examples

# Get the current ID value
rgl.incrementID(0)
#> [1] 1654

# Increment it
rgl.incrementID()
#> [1] 1655