int tvGetIntegerv (tvBase const *threeD, tvVariable var, int *val)

Gets the values of an integer vector state variable of the given tvBase struct

Documentation

Gets the values of an integer vector state variable of the given tvBase struct. Variables that may be queried are:
TV_CROSSHAIR           crosshair position (x, y)
TV_VISIBLE_CYCLE       purpose???? (2 ints)
TV_DIS_ID              purpose???? (siteid, forceid, entityid)
TV_SIZE                current render viewport size (width, height)
Returns:
number of array entities filled in, along with entries in "val" filled in.
Parameters:
threeD - handle to rendering state
var - state variable to be set
val - integer vector of (at least) same order as "var", to receive the returned results.
See Also:
tvVariable


Back to TerraVision API Home Page