Function ovr_sys::ovr_GetFloat

source ·
pub unsafe extern "C" fn ovr_GetFloat(
    session: ovrSession,
    propertyName: *const c_char,
    defaultVal: f32
) -> f32
Expand description

Reads a f32 property.

session Specifies an ovrSession previously returned by ovr_Create.

propertyName The name of the property, which needs to be valid only for the call.

defaultVal specifes the value to return if the property couldn’t be read.

Returns the property interpreted as an f32 value. Returns defaultVal if the property doesn’t exist.