float tvGetFloat (tvBase const *threeD, tvVariable var)

Gets the value of a float state variable of the given tvBase struct

Documentation

Gets the value of a float state variable of the given tvBase struct.
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                   get the viewer's current velocity (m/s)
TV_ACCELERATION               get the viewer's current acceleration
TV_IMAGE_QUALITY              get the current image's quality (1.0 = best)
TV_FOG_DENSITY                get the fog density setting
TV_MOTION_THRESHOLD           threshold to drop to wireframe (Hz), 0 = none
Returns:
current value of "var", or FALSE (0) upon failure.
Parameters:
threeD - handle to rendering state
var - state variable to be set
See Also:
tvVariable


Back to TerraVision API Home Page