float tvSetFloat (tvBase *threeD, tvVariable var, float val)

Sets a float state variable in the given tvBase struct

Documentation

Sets a float state variable in the given tvBase struct. Variables that may be affected are:
TV_TIME_OF_DAY                set time of day
TV_RESOLUTION_ADJUST          resolution adjust (?????)
TV_ELEVATION_SCALE            scale factor for elevation
TV_ABSOLUTE_IPD               purpose??????
TV_VELOCITY                   set the viewer's velocity (m/s)
TV_ACCELERATION               set the viewer's acceleration
TV_FOG_DENSITY                set the fog parameters in the view
TV_MOTION_THRESHOLD           threshold to drop to wireframe (Hz), 0 = none
Returns:
previous value of "var", or FALSE (0) upon failure.
Parameters:
threeD - handle to rendering state
var - state variable to be set
val - value for float state variable
See Also:
tvVariable


Back to TerraVision API Home Page