Function ovr_sys::ovr_SetFloat
source · pub unsafe extern "C" fn ovr_SetFloat(
session: ovrSession,
propertyName: *const c_char,
value: f32
) -> ovrBool
Expand description
Writes or creates a f32
property.
If the property wasn’t previously a f32
property, it’s changed to 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.
value
The value to write.
Returns true if successful, otherwise false. A false result should only occur if the property name is empty or if the property is read-only.